Sha256: 702c5d6d8333ec861e016b419e95f2ad69336af8bed59eb041942f3167a64296

Contents?: true

Size: 577 Bytes

Versions: 34

Compression:

Stored size: 577 Bytes

Contents

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

      class Mock
        def list_snapshots_detail(_options = {})
          response = Excon::Response.new
          response.status = 200
          response.body = {'snapshots' => data[:snapshots_detail]}
          response
        end
      end
    end
  end
end

Version data entries

34 entries across 32 versions & 3 rubygems

Version Path
fog-openstack-0.1.27 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-openstack-0.1.26/lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-openstack-0.1.26/lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-openstack-0.1.26/lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.26 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.25 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.24 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.23 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.22 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.21 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.20 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.19 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.18 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb
fog-openstack-0.1.17 lib/fog/shared_file_system/openstack/requests/list_snapshots_detail.rb