Class: RailsWorkflow::Operation
Constant Summary
Constants included
from Status
Status::CANCELED, Status::DONE, Status::ERROR, Status::IN_PROGRESS, Status::NOT_STARTED, Status::ROLLBACK, Status::SKIPPED, Status::WAITING
Instance Method Summary
collapse
Instance Method Details
#instruction ⇒ Object
22
23
24
|
# File 'app/models/rails_workflow/operation.rb', line 22
def instruction
self.template.instruction
end
|
#manager ⇒ Object
26
27
28
|
# File 'app/models/rails_workflow/operation.rb', line 26
def manager
@manager ||= process.manager
end
|
#manager=(manager) ⇒ Object
30
31
32
|
# File 'app/models/rails_workflow/operation.rb', line 30
def manager= manager
@manager = manager
end
|