Class Pyre::Room
In: lib/pyre/room.rb
Parent: Object

Pyre::Room is for interacting with a room!

Methods

join   joined?   leave   paste   speak   upload  

Attributes

id  [R] 
name  [R] 

Public Instance methods

Enter the room. Returns true on success.

If you‘re in the room right now.

Leave the room. Returns true on success.

Paste message to the room. Joins the room if necessary. Returns true on success.

Send message to the room. Joins the room if necessary. Returns true on success.

Upload a file (named filename) to the room. Joins the room if necessary. Returns true on success.

[Validate]