Sha256: 0265d3f9db7490bb2b75f77f85a0d78be3e41e58f0d7b6c9b1eac55d2e52389b
Contents?: true
Size: 481 Bytes
Versions: 12
Compression:
Stored size: 481 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 end end end
Version data entries
12 entries across 12 versions & 2 rubygems