Sha256: 739f97f6f2b87fc699fa7e32623df121d1842aca6a47464a2785f83b75b1e7f0

Contents?: true

Size: 339 Bytes

Versions: 29

Compression:

Stored size: 339 Bytes

Contents

module Fog
  module Volume
    class OpenStack
      module Real
        def snapshot_action(id, data)
          request(
            :body    => Fog::JSON.encode(data),
            :expects => [200, 202],
            :method  => 'POST',
            :path    => "snapshots/#{id}/action"
          )
        end
      end
    end
  end
end

Version data entries

29 entries across 27 versions & 3 rubygems

Version Path
fog-openstack-0.1.31 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.10 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.1.30 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.1.29 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.9 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.1.28 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.8 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.7 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.6 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.5 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.4 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.3 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.2 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.3.0 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.2.4 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.2.3 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.2.2 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.2.1 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-openstack-0.2.0 lib/fog/volume/openstack/requests/snapshot_action.rb
fog-zj-0.1.28 lib/fog/volume/openstack/requests/snapshot_action.rb