Sha256: cd2a7a279c7bdd668bfb6157d5b0531de16c3124f8339e8f52f4b573c2d659ec
Contents?: true
Size: 613 Bytes
Versions: 25
Compression:
Stored size: 613 Bytes
Contents
module Fog module Image class OpenStack 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
25 entries across 23 versions & 3 rubygems