Sha256: ff8abab0b5905d2f3c648b5ec91c5c75c0d544e60ebab59d67031fad68c480ac

Contents?: true

Size: 527 Bytes

Versions: 33

Compression:

Stored size: 527 Bytes

Contents

module Fog
  module Network
    class OpenStack
      class Real
        def list_lbaas_pools(filters = {})
          request(
            :expects => 200,
            :method  => 'GET',
            :path    => 'lbaas/pools',
            :query   => filters
          )
        end
      end

      class Mock
        def list_lbaas_pools(_filters = {})
          Excon::Response.new(
            :body   => {'pools' => data[:lbaas_pools].values},
            :status => 200
          )
        end
      end
    end
  end
end

Version data entries

33 entries across 31 versions & 3 rubygems

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