Sha256: b6806c7b6fca2f92da341e74594af170d7158c89a5aa20de443dcebe6517b0c6
Contents?: true
Size: 613 Bytes
Versions: 26
Compression:
Stored size: 613 Bytes
Contents
module Fog module Brightbox class Compute class Real def get_server_type(identifier, options = {}) return nil if identifier.nil? || identifier == "" request( :expects => [200], :method => 'GET', :path => "/1.0/server_types/#{identifier}", :headers => {"Content-Type" => "application/json"}, :body => options.to_json ) end end class Mock def get_server_type(identifier, options = {}) Fog::Mock.not_implemented end end end end end
Version data entries
26 entries across 26 versions & 3 rubygems