class RsInternal
API 0.1
Public Class Methods
connection()
click to toggle source
Calls superclass method
# File lib/rest_connection/rightscale/rs_internal.rb, line 36 def self.connection # call connection defined in InternalConnection module super end
get_server_template_multi_cloud_images(server_template_href)
click to toggle source
# File lib/rest_connection/rightscale/rs_internal.rb, line 41 def self.get_server_template_multi_cloud_images(server_template_href) connection.get("rs_internal/get_server_template_multi_cloud_images","server_template_href=#{server_template_href}") end
set_server_multi_cloud_image(server_href, mci_href)
click to toggle source
# File lib/rest_connection/rightscale/rs_internal.rb, line 45 def self.set_server_multi_cloud_image(server_href, mci_href) connection.put("rs_internal/set_server_multi_cloud_image", {:server_href => server_href, :multi_cloud_image_href => mci_href}) end
Public Instance Methods
connection()
click to toggle source
# File lib/rest_connection/rightscale/rs_internal.rb, line 32 def connection self.connection end