Sha256: 738ddaa0b590fad016203f0ec75cc7246e3ad23e6b48abfd69020133a4609851
Contents?: true
Size: 308 Bytes
Versions: 37
Compression:
Stored size: 308 Bytes
Contents
#!/usr/bin/env ruby $:.unshift '../../../../../lib' require 'xmpp4r' include Jabber if ARGV.size != 2 puts "Warning! This example UNREGISTERS user accounts!" puts "Usage: #{$0} <jid> <password>" exit end cl = Client.new(JID.new(ARGV[0])) cl.connect cl.auth(ARGV[1]) cl.remove_registration cl.close
Version data entries
37 entries across 37 versions & 13 rubygems