Method: UState::Client#initialize

Defined in:
lib/ustate/client.rb

#initialize(opts = {}) ⇒ Client

Returns a new instance of Client.



17
18
19
20
21
# File 'lib/ustate/client.rb', line 17

def initialize(opts = {})
  @host = opts[:host] || HOST
  @port = opts[:port] || PORT
  @locket = Mutex.new
end