Sha256: 114c84e63884498f8f2ff3d91c140c6073c53664ea605b3834e502fb3e9f82df
Contents?: true
Size: 789 Bytes
Versions: 46
Compression:
Stored size: 789 Bytes
Contents
module Fog module Rackspace module Servers class Real # 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 class Mock def list_flavors_detail raise MockNotImplemented.new("Contributions welcome!") end end end end end
Version data entries
46 entries across 46 versions & 1 rubygems