Sha256: 625e33e10a7be267d820cd684c6b58ce291dc6e293380f84b30b45851693060b
Contents?: true
Size: 532 Bytes
Versions: 22
Compression:
Stored size: 532 Bytes
Contents
module Fog module OpenStack class Image 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
22 entries across 22 versions & 3 rubygems