Class | Tinder::Campfire |
In: |
lib/tinder/campfire.rb
|
Parent: | Object |
campfire = Tinder::Campfire.new 'mysubdomain', :token => 'xyz' room = campfire.create_room 'New Room', 'My new campfire room to test tinder' room.speak 'Hello world!' room.destroy room = campfire.find_room_by_guest_hash 'abc123', 'John Doe' room.speak 'Hello world!'
connection | [R] |
Create a new connection to the campfire account with the given subdomain.
Defaults to true
Defaults to {:verify => true}
c = Tinder::Campfire.new("mysubdomain", :ssl => true)