Sha256: 618306bbe9370ad469832fc9ff4d1a9b617dd57674da8398d532058bd1bd77a5

Contents?: true

Size: 614 Bytes

Versions: 7

Compression:

Stored size: 614 Bytes

Contents

module Fog
  module Volume
    class OpenStack
      class Real
        def list_snapshots_detailed(options = {})
          request(
            :expects  => 200,
            :method   => 'GET',
            :path     => 'snapshots/detail',
            :query    => options
          )
        end
      end

      class Mock
        def list_snapshots_detailed(options = {})
          response = Excon::Response.new
          response.status = 200
          response.body = {
            'snapshots' => [get_snapshot_details.body["snapshot"]]
          }
          response
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
fog-1.36.0 lib/fog/openstack/requests/volume/list_snapshots_detailed.rb
fog-1.35.0 lib/fog/openstack/requests/volume/list_snapshots_detailed.rb
fog-2.0.0.pre.0 lib/fog/openstack/requests/volume/list_snapshots_detailed.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/openstack/requests/volume/list_snapshots_detailed.rb
fog-1.34.0 lib/fog/openstack/requests/volume/list_snapshots_detailed.rb
fog-1.33.0 lib/fog/openstack/requests/volume/list_snapshots_detailed.rb
fog-1.32.0 lib/fog/openstack/requests/volume/list_snapshots_detailed.rb