Method: LabClient::ProjectClusters#update
- Defined in:
- lib/labclient/projects/clusters/update.rb
#update(project_id, cluster_id, query) ⇒ Object
38 39 40 41 42 43 |
# File 'lib/labclient/projects/clusters/update.rb', line 38 def update(project_id, cluster_id, query) project_id = format_id(project_id) cluster_id = format_id(cluster_id) client.request(:put, "projects/#{project_id}/clusters/#{cluster_id}", klass: ProjectCluster, body: query) end |