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