Class: Zenaton::Contexts::Workflow
- Inherits:
-
Object
- Object
- Zenaton::Contexts::Workflow
- Defined in:
- lib/zenaton/contexts/workflow.rb
Overview
Represents the current runtime context of a Workflow.
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The UUID identifying the current workflow.
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ Zenaton::Contexts::Workflow
constructor
A new execution context for a workflow.
Constructor Details
#initialize(**kwargs) ⇒ Zenaton::Contexts::Workflow
Returns a new execution context for a workflow.
12 13 14 |
# File 'lib/zenaton/contexts/workflow.rb', line 12 def initialize(**kwargs) @id = kwargs[:id] end |
Instance Attribute Details
#id ⇒ String (readonly)
Returns The UUID identifying the current workflow.
8 9 10 |
# File 'lib/zenaton/contexts/workflow.rb', line 8 def id @id end |