ruby client for the openfire xmpp-server user_service api
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 6 commits ahead of lifely:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
VERSION
openfire_room_api.gemspec

README.md

openfire_room_api

a ruby client for openfire's room_service api

Installation

In your Gemfile

gem "openfire_room_api"

Usage

create a new roomservice object

api = OpenfireRoomApi::RoomService.new(:url => "http://localhost:9090/", :secret => "BIGSECRET")

create a new room

api.add_room!(:roomname => "room", :jid => "jid", :subdomain => "groupchat")

delete a room

api.delete_room!(:roomname => "room", :subdomain => "groupchat")