Sha256: 2732dac468f6ae036e9e160ff85329d0d57441891c48c435914c71bee27e6a0d
Contents?: true
Size: 711 Bytes
Versions: 11
Compression:
Stored size: 711 Bytes
Contents
unless Fog.mocking? module Fog class Slicehost # Get list of flavors # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # * 'id'<~Integer> - Id of the flavor # * 'name'<~String> - Name of the flavor # * 'price'<~Integer> - Price in cents # * 'ram'<~Integer> - Amount of ram for the flavor def get_flavors request( :expects => 200, :method => 'GET', :parser => Fog::Parsers::Slicehost::GetFlavors.new, :path => 'flavors.xml' ) end end end else module Fog class Slicehost def get_flavors end end end end
Version data entries
11 entries across 11 versions & 1 rubygems