module Fog module Image class OpenStack class V2 class Real def reactivate_image(image_id) request( :expects => 204, :method => 'POST', :path => "images/#{image_id}/actions/reactivate" ) end end class Mock def reactivate_image(image_id) response = Excon::Response.new response.status = 204 response end end end end end end