Sha256: adac684fd9b7b55e79bdf77a0664a9726a806b1da5782f50ac21578974b215a0
Contents?: true
Size: 615 Bytes
Versions: 4
Compression:
Stored size: 615 Bytes
Contents
module Fog module Image class HuaweiCloud 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
4 entries across 4 versions & 1 rubygems