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