Class: Cloudq::Job
- Inherits:
-
Object
- Object
- Cloudq::Job
- Includes:
- MongoMapper::Document, Workflow
- Defined in:
- lib/cloudq/job.rb
Instance Method Summary collapse
Instance Method Details
#load_workflow_state ⇒ Object
32 33 34 |
# File 'lib/cloudq/job.rb', line 32 def load_workflow_state self[:workflow_state] end |
#persist_workflow_state(new_value) ⇒ Object
36 37 38 39 |
# File 'lib/cloudq/job.rb', line 36 def persist_workflow_state(new_value) self[:workflow_state] = new_value save! end |