class LabClient::ProjectLabel
Inspect Helper
Public Instance Methods
delete()
click to toggle source
# File lib/labclient/projects/labels/project_label.rb, line 21 def delete project_id = collect_project_id client.projects.labels.delete(project_id, id) end
inspect()
click to toggle source
# File lib/labclient/projects/labels/project_label.rb, line 6 def inspect "#<ProjectLabel id: #{id}, name: #{name}>" end
project()
click to toggle source
# File lib/labclient/projects/labels/project_label.rb, line 10 def project project_id = collect_project_id client.projects.show project_id end
promote()
click to toggle source
# File lib/labclient/projects/labels/project_label.rb, line 27 def promote project_id = collect_project_id client.projects.labels.promote(project_id, id) end
subscribe()
click to toggle source
# File lib/labclient/projects/labels/project_label.rb, line 33 def subscribe project_id = collect_project_id client.projects.labels.subscribe(project_id, id) end
unsubscribe()
click to toggle source
# File lib/labclient/projects/labels/project_label.rb, line 39 def unsubscribe project_id = collect_project_id client.projects.labels.unsubscribe(project_id, id) end
update(query)
click to toggle source
# File lib/labclient/projects/labels/project_label.rb, line 15 def update(query) project_id = collect_project_id update_self client.projects.labels.update(project_id, id, query) end