Class: Manifestly::Entity::WorkflowStepContentObject

Inherits:
ChildEndpoint show all
Defined in:
lib/manifestly/entity/workflow_step_content_object.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ChildEndpoint

#delete, get, #initialize, list, location, #location, #parent_class, #update

Methods inherited from Endpoint

#client, client, #create, #delete, #endpoint_target, get, list, #location, location, #save, singular_endpoint_target, #singular_endpoint_target, #update

Methods inherited from Base

attr_accessor, attr_reader, #attributes, attributes, #attributes=, #initialize, invalid_class_method, invalid_method, #to_h

Constructor Details

This class inherits a constructor from Manifestly::Entity::ChildEndpoint

Instance Attribute Details

#captionObject

Returns the value of attribute caption.



7
8
9
# File 'lib/manifestly/entity/workflow_step_content_object.rb', line 7

def caption
  @caption
end

#contentObject

Returns the value of attribute content.



8
9
10
# File 'lib/manifestly/entity/workflow_step_content_object.rb', line 8

def content
  @content
end

#content_typeObject

Returns the value of attribute content_type.



9
10
11
# File 'lib/manifestly/entity/workflow_step_content_object.rb', line 9

def content_type
  @content_type
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/manifestly/entity/workflow_step_content_object.rb', line 6

def id
  @id
end

#positionObject

Returns the value of attribute position.



10
11
12
# File 'lib/manifestly/entity/workflow_step_content_object.rb', line 10

def position
  @position
end

Class Method Details

.endpoint_targetObject



16
17
18
# File 'lib/manifestly/entity/workflow_step_content_object.rb', line 16

def self.endpoint_target
  :content_objects
end

.parent_classObject



12
13
14
# File 'lib/manifestly/entity/workflow_step_content_object.rb', line 12

def self.parent_class
  WorkflowStep
end