Sha256: bfbf5616d7a0b16dd2b84c62dd3ee7a0c205ea7468e23dd3ebb34d0302e50863
Contents?: true
Size: 836 Bytes
Versions: 30
Compression:
Stored size: 836 Bytes
Contents
module Fog module NewServers 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
Version data entries
30 entries across 30 versions & 2 rubygems