Sha256: d6540d108df256a760fb779174a774a2ac2386a1b4a5113dbdb29db306f29de4

Contents?: true

Size: 522 Bytes

Versions: 51

Compression:

Stored size: 522 Bytes

Contents

module Fog
  module Network
    class OpenStack

      class Real
        def list_lb_pools(filters = {})
          request(
            :expects => 200,
            :method  => 'GET',
            :path    => 'lb/pools',
            :query   => filters
          )
        end
      end

      class Mock
        def list_lb_pools(filters = {})
          Excon::Response.new(
            :body   => { 'pools' => self.data[:lb_pools].values },
            :status => 200
          )
        end
      end

    end
  end
end

Version data entries

51 entries across 51 versions & 3 rubygems

Version Path
fog-1.15.0 lib/fog/openstack/requests/network/list_lb_pools.rb
gapinc-fog-1.14.0 lib/fog/openstack/requests/network/list_lb_pools.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/openstack/requests/network/list_lb_pools.rb
fog-1.14.0 lib/fog/openstack/requests/network/list_lb_pools.rb
fog-1.13.0 lib/fog/openstack/requests/network/list_lb_pools.rb
gapinc-fog-1.12.1.2 lib/fog/openstack/requests/network/list_lb_pools.rb
gapinc-fog-1.12.1.1 lib/fog/openstack/requests/network/list_lb_pools.rb
gapinc-fog-1.12.1a lib/fog/openstack/requests/network/list_lb_pools.rb
gapinc-fog-1.12.1 lib/fog/openstack/requests/network/list_lb_pools.rb
fog-1.12.1 lib/fog/openstack/requests/network/list_lb_pools.rb
fog-1.12.0 lib/fog/openstack/requests/network/list_lb_pools.rb