Method: LabClient::ProjectLabels#show

Defined in:
lib/labclient/projects/labels/show.rb

#show(project_id, label_id, query = {}) ⇒ Object



27
28
29
30
31
32
# File 'lib/labclient/projects/labels/show.rb', line 27

def show(project_id, label_id, query = {})
  project_id = format_id(project_id)
  label_id = format_id(label_id)

  client.request(:get, "projects/#{project_id}/labels/#{label_id}", ProjectLabel, query)
end