Module: RightScale::Api::McInput

Included in:
McDeployment, McInstance, McServerTemplate
Defined in:
lib/rest_connection/rightscale/rightscale_api_mc_input.rb

Instance Method Summary collapse

Instance Method Details

#get_inputsObject



30
31
32
# File 'lib/rest_connection/rightscale/rightscale_api_mc_input.rb', line 30

def get_inputs
  self["inputs"] = connection.get(self.href + "/inputs")
end

#showObject



34
35
36
37
# File 'lib/rest_connection/rightscale/rightscale_api_mc_input.rb', line 34

def show
  inst_href = URI.parse(self.href)
  @params.merge! connection.get(inst_href.path, 'view' => "inputs")
end