Class: Manifestly::Entity::Workflow
- Defined in:
- lib/manifestly/entity/workflow.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#business_days ⇒ Object
Returns the value of attribute business_days.
-
#description ⇒ Object
Returns the value of attribute description.
-
#expected_duration ⇒ Object
Returns the value of attribute expected_duration.
-
#expected_duration_units ⇒ Object
Returns the value of attribute expected_duration_units.
-
#external_id ⇒ Object
Returns the value of attribute external_id.
-
#hide_steps_from_external ⇒ Object
Returns the value of attribute hide_steps_from_external.
-
#id ⇒ Object
Returns the value of attribute id.
-
#steps ⇒ Object
rubocop:disable DuplicateMethods.
-
#tag_list ⇒ Object
Returns the value of attribute tag_list.
-
#title ⇒ Object
Returns the value of attribute title.
Class Method Summary collapse
Instance Method Summary collapse
-
#update ⇒ Object
Workflows use an ‘upsert’ methodology so the create and update routes are shared.
Methods inherited from Endpoint
#client, client, #create, #delete, #endpoint_target, get, list, #location, location, #save, singular_endpoint_target, #singular_endpoint_target
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::Base
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/manifestly/entity/workflow.rb', line 7 def account_id @account_id end |
#business_days ⇒ Object
Returns the value of attribute business_days.
8 9 10 |
# File 'lib/manifestly/entity/workflow.rb', line 8 def business_days @business_days end |
#description ⇒ Object
Returns the value of attribute description.
9 10 11 |
# File 'lib/manifestly/entity/workflow.rb', line 9 def description @description end |
#expected_duration ⇒ Object
Returns the value of attribute expected_duration.
10 11 12 |
# File 'lib/manifestly/entity/workflow.rb', line 10 def expected_duration @expected_duration end |
#expected_duration_units ⇒ Object
Returns the value of attribute expected_duration_units.
11 12 13 |
# File 'lib/manifestly/entity/workflow.rb', line 11 def expected_duration_units @expected_duration_units end |
#external_id ⇒ Object
Returns the value of attribute external_id.
12 13 14 |
# File 'lib/manifestly/entity/workflow.rb', line 12 def external_id @external_id end |
#hide_steps_from_external ⇒ Object
Returns the value of attribute hide_steps_from_external.
13 14 15 |
# File 'lib/manifestly/entity/workflow.rb', line 13 def hide_steps_from_external @hide_steps_from_external end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/manifestly/entity/workflow.rb', line 6 def id @id end |
#steps ⇒ Object
rubocop:disable DuplicateMethods
28 29 30 |
# File 'lib/manifestly/entity/workflow.rb', line 28 def steps @steps end |
#tag_list ⇒ Object
Returns the value of attribute tag_list.
15 16 17 |
# File 'lib/manifestly/entity/workflow.rb', line 15 def tag_list @tag_list end |
#title ⇒ Object
Returns the value of attribute title.
16 17 18 |
# File 'lib/manifestly/entity/workflow.rb', line 16 def title @title end |
Class Method Details
.endpoint_target ⇒ Object
18 19 20 |
# File 'lib/manifestly/entity/workflow.rb', line 18 def self.endpoint_target :checklists end |
Instance Method Details
#update ⇒ Object
Workflows use an ‘upsert’ methodology so the create and update routes are shared. Lookups are done via the external_id you pass in
24 25 26 |
# File 'lib/manifestly/entity/workflow.rb', line 24 def update create end |