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