Sha256: 2f7d4f04c86d693918fd4fa6fbc44db65be83afacdcd8982ba5f0860fdc5a64d

Contents?: true

Size: 590 Bytes

Versions: 4

Compression:

Stored size: 590 Bytes

Contents

module Fog
  module Network
    class HuaweiCloud
      class Real
        def list_lbaas_pool_members(pool_id, filters = {})
          request(
            :expects => 200,
            :method  => 'GET',
            :path    => "lbaas/pools/#{pool_id}/members",
            :query   => filters
          )
        end
      end

      class Mock
        def list_lbaas_pool_members(pool_id, _filters = {})
           Excon::Response.new(
            :body   => {'members' => data[:lbaas_pool_members].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_pool_members.rb
fog-huaweicloud-0.0.2 lib/fog/network/huaweicloud/requests/list_lbaas_pool_members.rb
fog-huaweicloud-0.1.3 lib/fog/network/huaweicloud/requests/list_lbaas_pool_members.rb
fog-huaweicloud-0.1.2 lib/fog/network/huaweicloud/requests/list_lbaas_pool_members.rb