Sha256: 6a6dc5a808cc52727d9a2dd6a3c5f54e401d334075babe23c35b552c3d5287c2
Contents?: true
Size: 627 Bytes
Versions: 38
Compression:
Stored size: 627 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 Fog::Mock.not_implemented end end end end end
Version data entries
38 entries across 38 versions & 2 rubygems