Sha256: 697914a069cd5f4125718a2a4cee1dd4abcbc7e4bcd1c206fff620cb172b562c
Contents?: true
Size: 626 Bytes
Versions: 36
Compression:
Stored size: 626 Bytes
Contents
module Fog module Rackspace class Compute 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
36 entries across 36 versions & 2 rubygems