Skip to content

elcuervo/rest_ejabberd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestEjabberd

Ruby interface to ejabberd's https://github.com/jadahl/mod_restful

This allows to:

  • create a user
  • delete a user
  • check existance
  • change password
client = RestEjabberd.new secret: 'shhhhh', host: 'chat.server.com/api/'
client.register 'me@localhost', '123123'
client.is_registered? 'me@localhost'
#=> true
client.change_password 'me@localhost', '123123', 'asdasd'
#=> true
client.unregister 'me@localhost', 'asdasd'
#=> true

About

Ruby interface for ejabberd's mod_restful

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages