Sha256: 4fb562a7a56a2159f71314faad1b528e1106b2d325bedfcbb14ae087300a7cd3
Contents?: true
Size: 791 Bytes
Versions: 12
Compression:
Stored size: 791 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 end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems