class Guh::EM::Notifications

Public Class Methods

subscribe() { |connection| ... } click to toggle source
# File lib/guh/em/notifications.rb, line 5
def self.subscribe
  EventMachine.connect Guh::Base.guh_ip_address, Guh::Base.guh_port, Connection do |connection|
    yield connection
  end
end