Sha256: 981bf49116fa1a24e36c381a9a9afa36d25836e6eb09d06c12953d6ce641d03a

Contents?: true

Size: 565 Bytes

Versions: 4

Compression:

Stored size: 565 Bytes

Contents

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

      class Mock
        def list_lbaas_l7policies(filters = {})
          Excon::Response.new(
              :body   => {'l7policies' => data[:lbaas_l7policies].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_l7policies.rb
fog-huaweicloud-0.0.2 lib/fog/network/huaweicloud/requests/list_lbaas_l7policies.rb
fog-huaweicloud-0.1.3 lib/fog/network/huaweicloud/requests/list_lbaas_l7policies.rb
fog-huaweicloud-0.1.2 lib/fog/network/huaweicloud/requests/list_lbaas_l7policies.rb