class Invoker::Power::InvokerHttpProxy

Attributes

host[RW]
ip[RW]
port[RW]

Public Instance Methods

set_host(host, selected_backend) click to toggle source
# File lib/invoker/power/balancer.rb, line 10
def set_host(host, selected_backend)
  self.host = host
  self.ip = selected_backend[:host]
  self.port = selected_backend[:port]
end