Sha256: 1be46e921f8d2d2ac7e65a822443467fb1447c7547ce25b1eb32d99b8504cd7c

Contents?: true

Size: 342 Bytes

Versions: 4

Compression:

Stored size: 342 Bytes

Contents

module Fog
  module Volume
    class HuaweiCloud
      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

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/volume/huaweicloud/requests/create_snapshot.rb
fog-huaweicloud-0.0.2 lib/fog/volume/huaweicloud/requests/create_snapshot.rb
fog-huaweicloud-0.1.3 lib/fog/volume/huaweicloud/requests/create_snapshot.rb
fog-huaweicloud-0.1.2 lib/fog/volume/huaweicloud/requests/create_snapshot.rb