Sha256: 6d04b211e3e0f04d1c3f261418e536a30d13ea169a2e6ec4d0dd2317c70b6d82
Contents?: true
Size: 747 Bytes
Versions: 25
Compression:
Stored size: 747 Bytes
Contents
module Fog module Compute class Slicehost class Real require 'fog/slicehost/parsers/compute/get_flavors' # 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::Compute::Slicehost::GetFlavors.new, :path => 'flavors.xml' ) end end end end end
Version data entries
25 entries across 25 versions & 7 rubygems