Class: Occurro::Jobs::DelayedJob
- Inherits:
-
Struct
- Object
- Struct
- Occurro::Jobs::DelayedJob
- Defined in:
- lib/occurro/jobs/delayed_job.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#model ⇒ Object
Returns the value of attribute model.
Instance Method Summary collapse
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count
3 4 5 |
# File 'lib/occurro/jobs/delayed_job.rb', line 3 def count @count end |
#model ⇒ Object
Returns the value of attribute model
3 4 5 |
# File 'lib/occurro/jobs/delayed_job.rb', line 3 def model @model end |
Instance Method Details
#perform ⇒ Object
5 6 7 |
# File 'lib/occurro/jobs/delayed_job.rb', line 5 def perform Occurro::Counter.increment_counters(model, count) end |