Sha256: f0166ebed7c2634c3ed3bbc130b6ab9cd8ead38c0a50816ef8328d6d4832c59a
Contents?: true
Size: 613 Bytes
Versions: 21
Compression:
Stored size: 613 Bytes
Contents
module Fog module OpenStack class Image class V2 class Real def add_member_to_image(image_id, tenant_id) request( :expects => [200], :method => 'POST', :path => "images/#{image_id}/members", :body => Fog::JSON.encode(:member => tenant_id) ) end end class Mock def add_member_to_image(_image_id, _tenant_id) response = Excon::Response.new response.status = 200 response end end end end end end
Version data entries
21 entries across 21 versions & 3 rubygems