Method: XmppServer::Pusher#push

Defined in:
lib/xmpp_server/push.rb

#push(username, content) ⇒ Object



6
7
8
9
# File 'lib/xmpp_server/push.rb', line 6

def push(username, content)
  m = XmppServer::M.new(username, content)
  XmppServer::QUEUE.push m
end