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