Class: Retab::WorkflowExportPayloadResponse
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::WorkflowExportPayloadResponse
- Defined in:
- lib/retab/workflow_runs/workflow_export_payload_response.rb
Constant Summary collapse
- HASH_ATTRS =
{ csv_data: :csv_data, rows: :rows, columns: :columns }.freeze
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#csv_data ⇒ Object
Returns the value of attribute csv_data.
-
#rows ⇒ Object
Returns the value of attribute rows.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ WorkflowExportPayloadResponse
constructor
A new instance of WorkflowExportPayloadResponse.
Methods inherited from Types::BaseModel
#inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ WorkflowExportPayloadResponse
Returns a new instance of WorkflowExportPayloadResponse.
19 20 21 22 23 24 |
# File 'lib/retab/workflow_runs/workflow_export_payload_response.rb', line 19 def initialize(json) hash = self.class.normalize(json) @csv_data = hash[:csv_data] @rows = hash[:rows] @columns = hash[:columns] end |
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns.
14 15 16 |
# File 'lib/retab/workflow_runs/workflow_export_payload_response.rb', line 14 def columns @columns end |
#csv_data ⇒ Object
Returns the value of attribute csv_data.
14 15 16 |
# File 'lib/retab/workflow_runs/workflow_export_payload_response.rb', line 14 def csv_data @csv_data end |
#rows ⇒ Object
Returns the value of attribute rows.
14 15 16 |
# File 'lib/retab/workflow_runs/workflow_export_payload_response.rb', line 14 def rows @rows end |