Sha256: 41008b440265c6d1cbf3170170d3459fb2a232a25ff64fa95c9c0eb820c04755
Contents?: true
Size: 656 Bytes
Versions: 46
Compression:
Stored size: 656 Bytes
Contents
module Fog module Rackspace module Servers class Real # List all flavors (IDs and names only) # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'id'<~Integer> - Id of the flavor # * 'name'<~String> - Name of the flavor def list_flavors request( :expects => [200, 203], :method => 'GET', :path => 'flavors.json' ) end end class Mock def list_flavors raise MockNotImplemented.new("Contributions welcome!") end end end end end
Version data entries
46 entries across 46 versions & 1 rubygems