Class: Airflow::Workflow::Info
- Inherits:
-
Struct
- Object
- Struct
- Airflow::Workflow::Info
- Defined in:
- lib/async_flow/workflow.rb
Instance Attribute Summary collapse
-
#queue ⇒ Object
Returns the value of attribute queue.
-
#status ⇒ Object
Returns the value of attribute status.
-
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
-
#workflow_name ⇒ Object
Returns the value of attribute workflow_name.
Class Method Summary collapse
Instance Attribute Details
#queue ⇒ Object
Returns the value of attribute queue
50 51 52 |
# File 'lib/async_flow/workflow.rb', line 50 def queue @queue end |
#status ⇒ Object
Returns the value of attribute status
50 51 52 |
# File 'lib/async_flow/workflow.rb', line 50 def status @status end |
#workflow_id ⇒ Object
Returns the value of attribute workflow_id
50 51 52 |
# File 'lib/async_flow/workflow.rb', line 50 def workflow_id @workflow_id end |
#workflow_name ⇒ Object
Returns the value of attribute workflow_name
50 51 52 |
# File 'lib/async_flow/workflow.rb', line 50 def workflow_name @workflow_name end |
Class Method Details
.from(workflow) ⇒ Object
51 52 53 54 55 56 57 |
# File 'lib/async_flow/workflow.rb', line 51 def self.from(workflow) new( workflow_name: workflow.workflow_name, workflow_id: workflow.id, status: workflow.status ) end |