Class: Manifestly::Entity::ChecklistRun

Inherits:
Endpoint show all
Defined in:
lib/manifestly/entity/checklist_run.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Endpoint

client, #client, #create, #delete, get, list, #path, #save, #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_idObject

Returns the value of attribute account_id.



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

def 
  @account_id
end

#archive_urlObject

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_idObject

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_titleObject

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_atObject

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

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#detailed_titleObject

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_idObject

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_externalObject

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

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#late_atObject

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_completeObject

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

#originObject

Returns the value of attribute origin.



26
27
28
# File 'lib/manifestly/entity/checklist_run.rb', line 26

def origin
  @origin
end

#percent_completedObject

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_atObject

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

#stateObject

Returns the value of attribute state.



18
19
20
# File 'lib/manifestly/entity/checklist_run.rb', line 18

def state
  @state
end

#summaryObject

Returns the value of attribute summary.



19
20
21
# File 'lib/manifestly/entity/checklist_run.rb', line 19

def summary
  @summary
end

#tag_listObject

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

#titleObject

Returns the value of attribute title.



21
22
23
# File 'lib/manifestly/entity/checklist_run.rb', line 21

def title
  @title
end

#usersObject

Returns the value of attribute users.



25
26
27
# File 'lib/manifestly/entity/checklist_run.rb', line 25

def users
  @users
end

#versionObject

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

.pathObject



28
29
30
# File 'lib/manifestly/entity/checklist_run.rb', line 28

def self.path
  'runs'
end

Instance Method Details

#stepsObject



41
42
43
# File 'lib/manifestly/entity/checklist_run.rb', line 41

def steps
  @steps ||= Manifestly::Entity::ChecklistStep.list(self)
end