Sha256: 95c52c2f62c63ab769d0acc9650939ebfe4d7be29af334efd77cbe0b69d328f8
Contents?: true
Size: 856 Bytes
Versions: 16
Compression:
Stored size: 856 Bytes
Contents
unless Fog.mocking? module Fog module Rackspace class Servers # List all flavors # # ==== 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 list_flavors_detail request( :expects => [200, 203], :method => 'GET', :path => 'flavors/detail.json' ) end end end end else module Fog module Rackspace class Servers def list_flavors_detail raise MockNotImplemented.new("Contributions welcome!") end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems