Sha256: cd3da8b043c4f56bed1d3a6f183044739ee9201ac2302b910113103176c8a8f2
Contents?: true
Size: 916 Bytes
Versions: 44
Compression:
Stored size: 916 Bytes
Contents
module Fog module NewServers class Compute class Real # List available plans # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # * 'description'<~String> - Description of the plan # * 'id'<~String> - Id of the plan # * 'name'<~String> - Name of the plan # * 'rate'<~String> - Cost per hour of the plan # * 'os'<~String> - Operating system of the plan # * 'config'<~String> - Configuration of the plan # def list_plans request( :expects => 200, :method => 'GET', :parser => Fog::ToHashDocument.new, :path => 'api/listPlans' ) end end class Mock def list_plans Fog::Mock.not_implemented end end end end end
Version data entries
44 entries across 44 versions & 3 rubygems