Method: XMPPSimple::Client#iq
- Defined in:
- lib/xmpp_simple/client.rb
#iq(node) ⇒ Object
81 82 83 84 85 86 |
# File 'lib/xmpp_simple/client.rb', line 81 def iq(node) XMPPSimple.logger.debug "Iq: #{node.inspect}" return unless node.at('/iq/bind:bind', 'bind' => 'urn:ietf:params:xml:ns:xmpp-bind') XMPPSimple.logger.debug 'Connected!' @handler.connected if @handler.respond_to? :connected end |