Displaying 1 result from an estimated 1 matches for "set_show".
Did you mean:
seq_show
2009 Dec 24
0
can't return array object from worker
...Worker.......''
end
def connect_chat(args)
logger.info "Conencting chat.......#{args[:username]} --"
jid = Jabber::JID.new(args[:username])
@client = Jabber::Client.new(jid)
@client.connect
@client.auth(args[:password])
@client.send(Jabber::Presence.new.set_show(nil).set_status(''From
Rails!''))
logger.info "Chat Connection status - #{@client.is_connected?}"
return @client.is_connected?
end
def connected?
return @client.is_connected?
end
def get_buddies
if self.connected?
@buddy_list = []
roster...