Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 453 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 453 Bytes

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")