class Manifestly::Entity::ChecklistRunStep
Attributes
assignee_avatar_url[RW]
assignee_id[RW]
assignee_name[RW]
assignee_simple_display_name[RW]
assignee_user_id[RW]
comments[RW]
completed_at[RW]
data[RW]
description_with_links[RW]
header_step[R]
id[RW]
late_at[RW]
picture[RW]
position[RW]
run_detailed_title[RW]
run_id[RW]
run_step_data_setting[RW]
skipped[RW]
title[RW]
user[RW]
user_id[RW]
Public Class Methods
endpoint_target()
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 39 def self.endpoint_target :run_steps end
parent_class()
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 35 def self.parent_class ChecklistRun end
Public Instance Methods
add_comment(comment)
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 89 def add_comment(comment) client.post("#{location}/#{id}/comments", params: {comment: comment}) @parent.instance_variable_set(:@steps, nil) nil end
add_data(data)
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 77 def add_data(data) client.post("#{location}/#{id}/data", params: {data: data}) @parent.instance_variable_set(:@steps, nil) nil end
add_picture(base_64_encoded_picture_data)
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 83 def add_picture(base_64_encoded_picture_data) client.post("#{location}/#{id}/picture", params: {picture: base_64_encoded_picture_data}) @parent.instance_variable_set(:@steps, nil) nil end
assign(user_id)
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 95 def assign(user_id) client.post("#{location}/#{id}/assign", params: {assignee_user_id: user_id}) @parent.instance_variable_set(:@steps, nil) nil end
complete()
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 53 def complete client.post("#{location}/#{id}/complete") @parent.instance_variable_set(:@steps, nil) nil end
header_step=(value)
click to toggle source
Always convert to a boolean
# File lib/manifestly/entity/checklist_run_step.rb, line 49 def header_step=(value) @header_step = (value.to_s == 'true') end
skip()
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 65 def skip client.post("#{location}/#{id}/skip") @parent.instance_variable_set(:@steps, nil) nil end
uncomplete()
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 59 def uncomplete client.post("#{location}/#{id}/uncomplete") @parent.instance_variable_set(:@steps, nil) nil end
unskip()
click to toggle source
# File lib/manifestly/entity/checklist_run_step.rb, line 71 def unskip client.post("#{location}/#{id}/unskip") @parent.instance_variable_set(:@steps, nil) nil end