Method: LabClient::ProjectClusters#show

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

#show(project_id, cluster_id) ⇒ Object



22
23
24
25
26
27
# File 'lib/labclient/projects/clusters/show.rb', line 22

def show(project_id, cluster_id)
  cluster_id = format_id(cluster_id)
  project_id = format_id(project_id)

  client.request(:get, "projects/#{project_id}/clusters/#{cluster_id}", ProjectCluster)
end