Sha256: 88b99dfa13df864c460818e4c1fc2e40abfd258ad0e33c71f62f777e4c34a001

Contents?: true

Size: 537 Bytes

Versions: 39

Compression:

Stored size: 537 Bytes

Contents

module Fog
  module Compute
    class OpenStack
      class Real
        def list_volumes_detail(options = {})
          request(
            :expects => 200,
            :method  => 'GET',
            :path    => 'os-volumes/detail',
            :query   => options
          )
        end
      end

      class Mock
        def list_volumes_detail(_options = {})
          Excon::Response.new(
            :body   => {'volumes' => data[:volumes].values},
            :status => 200
          )
        end
      end
    end
  end
end

Version data entries

39 entries across 37 versions & 3 rubygems

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