Exception: Qyu::Errors::WorkflowNotFound
- Defined in:
- lib/qyu/errors/workflow_not_found.rb
Overview
Qyu::Errors::WorkflowNotFound
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#workflow_id ⇒ Object
readonly
Returns the value of attribute workflow_id.
Instance Method Summary collapse
-
#initialize(key, workflow_id) ⇒ WorkflowNotFound
constructor
A new instance of WorkflowNotFound.
Constructor Details
#initialize(key, workflow_id) ⇒ WorkflowNotFound
Returns a new instance of WorkflowNotFound.
8 9 10 11 12 |
# File 'lib/qyu/errors/workflow_not_found.rb', line 8 def initialize(key, workflow_id) super("Workflow not found with #{key}=#{workflow_id}.") @key = key @workflow_id = workflow_id end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
7 8 9 |
# File 'lib/qyu/errors/workflow_not_found.rb', line 7 def key @key end |
#workflow_id ⇒ Object (readonly)
Returns the value of attribute workflow_id.
7 8 9 |
# File 'lib/qyu/errors/workflow_not_found.rb', line 7 def workflow_id @workflow_id end |