class McInstanceType
API 1.5
Public Class Methods
filters()
click to toggle source
# File lib/rest_connection/rightscale/mc_instance_type.rb, line 53 def self.filters [:cpu_architecture, :description, :name, :resource_uid] end
parse_args(cloud_id)
click to toggle source
# File lib/rest_connection/rightscale/mc_instance_type.rb, line 49 def self.parse_args(cloud_id) "clouds/#{cloud_id}/" end
resource_plural_name()
click to toggle source
# File lib/rest_connection/rightscale/mc_instance_type.rb, line 41 def self.resource_plural_name "instance_types" end
resource_singular_name()
click to toggle source
# File lib/rest_connection/rightscale/mc_instance_type.rb, line 45 def self.resource_singular_name "instance_type" end
Public Instance Methods
resource_plural_name()
click to toggle source
# File lib/rest_connection/rightscale/mc_instance_type.rb, line 33 def resource_plural_name "instance_types" end
resource_singular_name()
click to toggle source
# File lib/rest_connection/rightscale/mc_instance_type.rb, line 37 def resource_singular_name "instance_type" end
show()
click to toggle source
# File lib/rest_connection/rightscale/mc_instance_type.rb, line 57 def show inst_href = URI.parse(self.href) @params.merge! connection.get(inst_href.path, 'view' => "default") end