Class: Retab::WorkflowTestRunWorkflowScope
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::WorkflowTestRunWorkflowScope
- Defined in:
- lib/retab/workflow_test_runs/workflow_test_run_workflow_scope.rb
Constant Summary collapse
- HASH_ATTRS =
{ type: :type }.freeze
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ WorkflowTestRunWorkflowScope
constructor
A new instance of WorkflowTestRunWorkflowScope.
Methods inherited from Types::BaseModel
deep_symbolize, #inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ WorkflowTestRunWorkflowScope
Returns a new instance of WorkflowTestRunWorkflowScope.
14 15 16 17 18 |
# File 'lib/retab/workflow_test_runs/workflow_test_run_workflow_scope.rb', line 14 def initialize(json) super() hash = self.class.normalize(json) @type = hash[:type] end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
12 13 14 |
# File 'lib/retab/workflow_test_runs/workflow_test_run_workflow_scope.rb', line 12 def type @type end |