Module: Amigo::Job::ClassMethods
- Defined in:
- lib/amigo/job.rb
Instance Attribute Summary collapse
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Instance Method Summary collapse
Instance Attribute Details
#pattern ⇒ Object
Returns the value of attribute pattern.
228 229 230 |
# File 'lib/amigo/job.rb', line 228 def pattern @pattern end |
Instance Method Details
#event_job? ⇒ Boolean
238 239 240 |
# File 'lib/amigo/job.rb', line 238 def event_job? return true end |
#on(pattern) ⇒ Object
230 231 232 |
# File 'lib/amigo/job.rb', line 230 def on(pattern) self.pattern = pattern end |
#scheduled_job? ⇒ Boolean
234 235 236 |
# File 'lib/amigo/job.rb', line 234 def scheduled_job? return false end |