Sha256: 47ef456bad6d7674fb429a7cca5519a25a3333f0b9e04fda77fcc10e401baf9b
Contents?: true
Size: 747 Bytes
Versions: 7
Compression:
Stored size: 747 Bytes
Contents
module Fog module Compute class Slicehost class Real require 'fog/compute/parsers/slicehost/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
7 entries across 7 versions & 3 rubygems