Sha256: c55dad5418a5873d164bb23ade55f5591d2b991b6c14ffe421447a2c2f2f6e56
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
module Fog module Compute class Brightbox class Real def get_user(identifier, options = {}) return nil if identifier.nil? || identifier == "" request( :expects => [200], :method => 'GET', :path => "/1.0/users/#{identifier}", :headers => {"Content-Type" => "application/json"}, :body => MultiJson.encode(options) ) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-0.10.0 | lib/fog/compute/requests/brightbox/get_user.rb |