Sha256: 6773194cf5199adc2d24078cd577a40014fd45ecd46972b2ba808469853e7b38

Contents?: true

Size: 340 Bytes

Versions: 44

Compression:

Stored size: 340 Bytes

Contents

module Fog
  module Volume
    class OpenStack
      module Real
        private

        def _create_snapshot(data)
          request(
            :body    => Fog::JSON.encode(data),
            :expects => [200, 202],
            :method  => 'POST',
            :path    => "snapshots"
          )
        end
      end
    end
  end
end

Version data entries

44 entries across 42 versions & 3 rubygems

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