Module: Reactor::Workflow::Base
- Defined in:
- lib/reactor/workflow.rb
Overview
This module provides support for Workflow actions and information querying.
Instance Method Summary collapse
-
#workflow ⇒ Object
Returns instance of Standard (or Empty..) For the API See Reactor::Workflow::Standard.
- #workflow_comments ⇒ Object
Instance Method Details
#workflow ⇒ Object
Returns instance of Standard (or Empty..) For the API See Reactor::Workflow::Standard
11 12 13 14 15 16 17 |
# File 'lib/reactor/workflow.rb', line 11 def workflow @workflow ||= if ((=RailsConnector::ObjectWithMetaData.find_by_object_id(self.obj_id)).workflow_name.present?) Standard.new(self,) else Empty.new(self) end end |