Sha256: 5867a685d36dced6e0070683da5804ca00754081db89947b5a76194f9b46702e
Contents?: true
Size: 797 Bytes
Versions: 36
Compression:
Stored size: 797 Bytes
Contents
module Fog module Rackspace class Compute class Real # 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 class Mock def get_flavor_details(flavor_id) Fog::Mock.not_implemented end end end end end
Version data entries
36 entries across 36 versions & 2 rubygems