Sha256: b9234f3e080f5c95602f7922357893b6b0375e6e38159c938958858d788fa8ff
Contents?: true
Size: 784 Bytes
Versions: 7
Compression:
Stored size: 784 Bytes
Contents
unless Fog.mocking? module Fog module Rackspace class Servers # List all images (IDs and names only) # # ==== Returns # * response<~Fog::AWS::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_flavors request( :expects => 200, :method => 'GET', :path => 'flavors.json' ) end end end end else module Fog module Rackspace class Servers def get_flavors end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems