Sha256: 43c1e2ee6151eef81b2381a35f0aef67f8efc32a66d873eff50cd615c55285ee
Contents?: true
Size: 527 Bytes
Versions: 20
Compression:
Stored size: 527 Bytes
Contents
module Fog module OpenStack class Image class V2 class Real def deactivate_image(image_id) request( :expects => 204, :method => 'POST', :path => "images/#{image_id}/actions/deactivate" ) end end class Mock def deactivate_image(_image_id) response = Excon::Response.new response.status = 204 response end end end end end end
Version data entries
20 entries across 20 versions & 3 rubygems