Sha256: 8572a74b60fc0940a20862057d61b179e6dac637cea4615ff6400cee78dc7212

Contents?: true

Size: 325 Bytes

Versions: 7

Compression:

Stored size: 325 Bytes

Contents

module Fog
  module Volume
    class OpenStack
       module Mock
        def update_volume(volume_id, data = {})
          response        = Excon::Response.new
          response.status = 200
          response.body   = {'volume' => data.merge('id' => volume_id)}
          response
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fog-openstack-0.1.31 lib/fog/volume/openstack/requests/update_volume.rb
fog-openstack-0.3.10 lib/fog/volume/openstack/requests/update_volume.rb
fog-openstack-0.1.30 lib/fog/volume/openstack/requests/update_volume.rb
fog-openstack-0.1.29 lib/fog/volume/openstack/requests/update_volume.rb
fog-openstack-0.3.9 lib/fog/volume/openstack/requests/update_volume.rb
fog-openstack-0.1.28 lib/fog/volume/openstack/requests/update_volume.rb
fog-openstack-0.3.8 lib/fog/volume/openstack/requests/update_volume.rb