Sha256: 3c821634d858c97bef2f6e3121dae72ef43026a2ca28d57423b9198368954890

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

class Ey::Core::Client
  class Real
    def get_load_balancer_nodes(params={})
      id  = params["id"]
      url = params["url"]

      request(
        :path => "/load-balancer-nodes/#{id}",
        :url  => url,
      )
    end
  end # Real

  class Mock
    def get_load_balancer_nodes(params={})
      response(
        :body => {"load_balancer_node" => self.find(:load_balancer_nodes, resource_identity(params))},
      )
    end
  end # Mock
end # Ey::Core::Client

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ey-core-3.6.6 lib/ey-core/requests/get_load_balancer_node.rb
ey-core-3.4.5 lib/ey-core/requests/get_load_balancer_node.rb
ey-core-3.6.5 lib/ey-core/requests/get_load_balancer_node.rb