Sha256: 7d83302dacd8a7e8718b9697b0834488bb3da50e6caa876289d4ef1569749718
Contents?: true
Size: 829 Bytes
Versions: 12
Compression:
Stored size: 829 Bytes
Contents
unless Fog.mocking? module Fog module Rackspace class Servers # Get details for flavor by id # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'id'<~Integer> - Id of the flavor # * 'name'<~String> - Name of the flavor # * 'ram'<~Integer> - Amount of ram for the flavor # * 'disk'<~Integer> - Amount of diskspace for the flavor def get_flavor_details(flavor_id) request( :expects => [200, 203], :method => 'GET', :path => "flavors/#{flavor_id}.json" ) end end end end else module Fog module Rackspace class Servers def get_flavor_details(flavor_id) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems