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