Class: Deployment
Instance Attribute Summary
#attributes, #id
Class Method Summary
collapse
collection_path, connection, connection=, create, #destory, destory, element_path, format, format=, generate_attributes, headers, index, #initialize, #load_accessor, #loads, logger, logger=, #new?, resource_id, resource_name, #save, show, status, update, #update_attributes
Class Method Details
.duplicate(id) ⇒ Object
11
12
13
|
# File 'lib/right_resource/deployment.rb', line 11
def duplicate(id)
connection.post(element_path(id, :duplicate))
end
|
.start_all(id) ⇒ Object
3
4
5
|
# File 'lib/right_resource/deployment.rb', line 3
def start_all(id)
connection.post(element_path(id, :start_all))
end
|
.stop_all(id) ⇒ Object
7
8
9
|
# File 'lib/right_resource/deployment.rb', line 7
def stop_all(id)
connection.post(element_path(id, :stop_all))
end
|