Class: ServerTemplate
- Inherits:
-
RightResource::Base
- Object
- RightResource::Base
- ServerTemplate
- Defined in:
- lib/right_resource/server_template.rb
Instance Attribute Summary
Attributes inherited from RightResource::Base
Class Method Summary collapse
Methods inherited from RightResource::Base
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
Constructor Details
This class inherits a constructor from RightResource::Base
Class Method Details
.executables(id, params = {}) ⇒ Object
3 4 5 6 |
# File 'lib/right_resource/server_template.rb', line 3 def executables(id, params={}) path = element_path(id, :executables, params) instantiate_collection(format.decode(connection.get(path))) end |