Class: MultiCloudImageCloudSettingInternal

Inherits:
Object
  • Object
show all
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

#params

Class Method Summary collapse

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

#connection

Methods included from RightScale::Api::InternalConnection

#connection

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_nameObject



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_nameObject



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_nameObject



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_nameObject



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