Class: Retab::PublishWorkflowRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/retab/workflows/publish_workflow_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  description: :description
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ PublishWorkflowRequest

Returns a new instance of PublishWorkflowRequest.



14
15
16
17
18
# File 'lib/retab/workflows/publish_workflow_request.rb', line 14

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @description = hash[:description].nil? ? "" : hash[:description]
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



12
13
14
# File 'lib/retab/workflows/publish_workflow_request.rb', line 12

def description
  @description
end