Class: MultiCloudImageCloudSettingInternal
- Inherits:
-
Object
- Object
- MultiCloudImageCloudSettingInternal
- Extended by:
- RightScale::Api::BaseExtend, RightScale::Api::InternalExtend
- Includes:
- RightScale::Api::Base, RightScale::Api::Internal
- Defined in:
- lib/rest_connection/rightscale/multi_cloud_image_cloud_setting_internal.rb
Overview
API 0.1
Instance Attribute Summary
Attributes included from RightScale::Api::Base
Class Method Summary collapse
-
.create(opts) ⇒ Object
override create method, with no reload.
- .resource_plural_name ⇒ Object
- .resource_singular_name ⇒ Object
Instance Method Summary collapse
Methods included from RightScale::Api::BaseExtend
[], create, deny_methods, filters, find, find_all, find_by, find_by_cloud_id, find_by_id, find_by_nickname, find_by_nickname_speed, find_with_filter
Methods included from RightScale::Api::BaseConnection
Methods included from RightScale::Api::InternalConnection
Methods included from RightScale::Api::Base
#[], #[]=, #destroy, #initialize, #method_missing, #reload, #rs_id, #save
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RightScale::Api::Base
Class Method Details
.create(opts) ⇒ Object
override create method, with no reload
52 53 54 55 |
# File 'lib/rest_connection/rightscale/multi_cloud_image_cloud_setting_internal.rb', line 52 def self.create(opts) location = connection.post(self.resource_plural_name, self.resource_singular_name.to_sym => opts) newrecord = self.new('href' => location) end |
.resource_plural_name ⇒ Object
43 44 45 |
# File 'lib/rest_connection/rightscale/multi_cloud_image_cloud_setting_internal.rb', line 43 def self.resource_plural_name "multi_cloud_image_cloud_settings" end |
.resource_singular_name ⇒ Object
47 48 49 |
# File 'lib/rest_connection/rightscale/multi_cloud_image_cloud_setting_internal.rb', line 47 def self.resource_singular_name "multi_cloud_image_cloud_setting" end |
Instance Method Details
#resource_plural_name ⇒ Object
35 36 37 |
# File 'lib/rest_connection/rightscale/multi_cloud_image_cloud_setting_internal.rb', line 35 def resource_plural_name "multi_cloud_image_cloud_settings" end |
#resource_singular_name ⇒ Object
39 40 41 |
# File 'lib/rest_connection/rightscale/multi_cloud_image_cloud_setting_internal.rb', line 39 def resource_singular_name "multi_cloud_image_cloud_setting" end |