Method: Jabber::Roster::Helper::RosterItem#send

Defined in:
lib/xmpp4r/roster/helper/roster.rb

#sendObject

Send the updated RosterItem to the server, i.e. if you modified iname, groups, …



386
387
388
389
390
# File 'lib/xmpp4r/roster/helper/roster.rb', line 386

def send
  request = Iq.new_rosterset
  request.query.add(self)
  @stream.send(request)
end