Sha256: d5c1775511435fde27357de7d2a7d571a2885b721fad0315fdc2768c7e89bb88
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
module Fog module Compute class Brightbox class Real def get_image(identifier, options = {}) return nil if identifier.nil? || identifier == "" request( :expects => [200], :method => 'GET', :path => "/1.0/images/#{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_image.rb |