Class: Manifestly::Entity::ChecklistRun
- Defined in:
- lib/manifestly/entity/checklist_run.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#archive_url ⇒ Object
Returns the value of attribute archive_url.
-
#checklist_id ⇒ Object
Returns the value of attribute checklist_id.
-
#checklist_title ⇒ Object
Returns the value of attribute checklist_title.
-
#completed_at ⇒ Object
Returns the value of attribute completed_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#detailed_title ⇒ Object
Returns the value of attribute detailed_title.
-
#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.
-
#late_at ⇒ Object
Returns the value of attribute late_at.
-
#only_assigned_can_complete ⇒ Object
Returns the value of attribute only_assigned_can_complete.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#percent_completed ⇒ Object
Returns the value of attribute percent_completed.
-
#started_at ⇒ Object
Returns the value of attribute started_at.
-
#state ⇒ Object
Returns the value of attribute state.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#tag_list ⇒ Object
Returns the value of attribute tag_list.
-
#title ⇒ Object
Returns the value of attribute title.
-
#users ⇒ Object
Returns the value of attribute users.
-
#version ⇒ Object
Returns the value of attribute version.
Class Method Summary collapse
Instance Method Summary collapse
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::Base
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/manifestly/entity/checklist_run.rb', line 7 def account_id @account_id end |
#archive_url ⇒ Object
Returns the value of attribute archive_url.
8 9 10 |
# File 'lib/manifestly/entity/checklist_run.rb', line 8 def archive_url @archive_url end |
#checklist_id ⇒ Object
Returns the value of attribute checklist_id.
9 10 11 |
# File 'lib/manifestly/entity/checklist_run.rb', line 9 def checklist_id @checklist_id end |
#checklist_title ⇒ Object
Returns the value of attribute checklist_title.
10 11 12 |
# File 'lib/manifestly/entity/checklist_run.rb', line 10 def checklist_title @checklist_title end |
#completed_at ⇒ Object
Returns the value of attribute completed_at.
11 12 13 |
# File 'lib/manifestly/entity/checklist_run.rb', line 11 def completed_at @completed_at end |
#description ⇒ Object
Returns the value of attribute description.
12 13 14 |
# File 'lib/manifestly/entity/checklist_run.rb', line 12 def description @description end |
#detailed_title ⇒ Object
Returns the value of attribute detailed_title.
13 14 15 |
# File 'lib/manifestly/entity/checklist_run.rb', line 13 def detailed_title @detailed_title end |
#external_id ⇒ Object
Returns the value of attribute external_id.
14 15 16 |
# File 'lib/manifestly/entity/checklist_run.rb', line 14 def external_id @external_id end |
#hide_steps_from_external ⇒ Object
Returns the value of attribute hide_steps_from_external.
23 24 25 |
# File 'lib/manifestly/entity/checklist_run.rb', line 23 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/checklist_run.rb', line 6 def id @id end |
#late_at ⇒ Object
Returns the value of attribute late_at.
15 16 17 |
# File 'lib/manifestly/entity/checklist_run.rb', line 15 def late_at @late_at end |
#only_assigned_can_complete ⇒ Object
Returns the value of attribute only_assigned_can_complete.
24 25 26 |
# File 'lib/manifestly/entity/checklist_run.rb', line 24 def only_assigned_can_complete @only_assigned_can_complete end |
#origin ⇒ Object
Returns the value of attribute origin.
26 27 28 |
# File 'lib/manifestly/entity/checklist_run.rb', line 26 def origin @origin end |
#percent_completed ⇒ Object
Returns the value of attribute percent_completed.
16 17 18 |
# File 'lib/manifestly/entity/checklist_run.rb', line 16 def percent_completed @percent_completed end |
#started_at ⇒ Object
Returns the value of attribute started_at.
17 18 19 |
# File 'lib/manifestly/entity/checklist_run.rb', line 17 def started_at @started_at end |
#state ⇒ Object
Returns the value of attribute state.
18 19 20 |
# File 'lib/manifestly/entity/checklist_run.rb', line 18 def state @state end |
#summary ⇒ Object
Returns the value of attribute summary.
19 20 21 |
# File 'lib/manifestly/entity/checklist_run.rb', line 19 def summary @summary end |
#tag_list ⇒ Object
Returns the value of attribute tag_list.
20 21 22 |
# File 'lib/manifestly/entity/checklist_run.rb', line 20 def tag_list @tag_list end |
#title ⇒ Object
Returns the value of attribute title.
21 22 23 |
# File 'lib/manifestly/entity/checklist_run.rb', line 21 def title @title end |
#users ⇒ Object
Returns the value of attribute users.
25 26 27 |
# File 'lib/manifestly/entity/checklist_run.rb', line 25 def users @users end |
#version ⇒ Object
Returns the value of attribute version.
22 23 24 |
# File 'lib/manifestly/entity/checklist_run.rb', line 22 def version @version end |
Class Method Details
.endpoint_target ⇒ Object
28 29 30 |
# File 'lib/manifestly/entity/checklist_run.rb', line 28 def self.endpoint_target :runs end |
Instance Method Details
#steps ⇒ Object
41 42 43 44 45 46 |
# File 'lib/manifestly/entity/checklist_run.rb', line 41 def steps return @steps if @steps @steps = Manifestly::Entity::ChecklistRunStep.list(self) if id @steps ||= [] end |