Sha256: f4a4c83192117c32b21f8d9f0afd469d19831e692f6d4597c06304b3435ae449

Contents?: true

Size: 529 Bytes

Versions: 4

Compression:

Stored size: 529 Bytes

Contents

module Fog
  module Network
    class HuaweiCloud
      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

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/network/huaweicloud/requests/list_lbaas_pools.rb
fog-huaweicloud-0.0.2 lib/fog/network/huaweicloud/requests/list_lbaas_pools.rb
fog-huaweicloud-0.1.3 lib/fog/network/huaweicloud/requests/list_lbaas_pools.rb
fog-huaweicloud-0.1.2 lib/fog/network/huaweicloud/requests/list_lbaas_pools.rb