Sha256: faa3f234fe60fd5c46ecda403841d238daef6324d8685be4a56782335be58273
Contents?: true
Size: 534 Bytes
Versions: 4
Compression:
Stored size: 534 Bytes
Contents
module Fog module Image class HuaweiCloud class V2 class Real def add_tag_to_image(image_id, tag) request( :expects => [204], :method => 'PUT', :path => "images/#{image_id}/tags/#{tag}" ) end end class Mock def add_tag_to_image(_image_id, _tag) response = Excon::Response.new response.status = 204 response end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems