Class: LabClient::ResourceLabelIssues
- Defined in:
- lib/labclient/resource_labels/issues/list.rb,
lib/labclient/resource_labels/issues/show.rb
Overview
Specifics
Constant Summary
Constants included from AccessLevel
AccessLevel::HUMAN_ACCESS_LEVELS, AccessLevel::MACHINE_ACCESS_LEVELS
Instance Attribute Summary
Attributes inherited from Common
Instance Method Summary collapse
Methods inherited from Common
#api_methods, #api_methods_help, #format_id, #format_query_id, #format_query_ids, #format_time?, #group_name, #help, #initialize, #inspect, #klass, #protected_query_access_level, #query_access_level, #query_format_time
Methods included from Docs
#demo, #desc, #doc, docs, #example, #group_name, #help, json, #markdown, #navigation, #option, #result, #subtitle, #title
Methods included from AccessLevel
#human_access_level, #human_protected_access_level, #machine_access_level, #machine_protected_access_level
Constructor Details
This class inherits a constructor from LabClient::Common
Instance Method Details
#list(project_id, issue_iid) ⇒ Object
23 24 25 26 27 28 |
# File 'lib/labclient/resource_labels/issues/list.rb', line 23 def list(project_id, issue_iid) project_id = format_id(project_id) issue_iid = format_id(issue_iid) client.request(:get, "projects/#{project_id}/issues/#{issue_iid}/resource_label_events", ResourceLabel) end |
#show(project_id, issue_iid, resource_event_id) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/labclient/resource_labels/issues/show.rb', line 23 def show(project_id, issue_iid, resource_event_id) project_id = format_id(project_id) issue_iid = format_id(issue_iid) resource_event_id = format_id(resource_event_id) client.request(:get, "projects/#{project_id}/issues/#{issue_iid}/resource_label_events/#{resource_event_id}", ResourceLabel) end |