Class: CIJoe::Talker::TalkerRoom
- Inherits:
-
Object
- Object
- CIJoe::Talker::TalkerRoom
- Defined in:
- lib/cijoe/talker.rb
Instance Method Summary collapse
-
#initialize(subdomain, options) ⇒ TalkerRoom
constructor
A new instance of TalkerRoom.
- #leave ⇒ Object
- #paste(msg) ⇒ Object
- #speak(msg) ⇒ Object
Constructor Details
#initialize(subdomain, options) ⇒ TalkerRoom
Returns a new instance of TalkerRoom.
7 8 9 10 11 12 |
# File 'lib/cijoe/talker.rb', line 7 def initialize(subdomain, ) @subdomain = subdomain @ssl = [:ssl] @room_id = [:room] @token = [:token] end |
Instance Method Details
#leave ⇒ Object
14 15 |
# File 'lib/cijoe/talker.rb', line 14 def leave end |
#paste(msg) ⇒ Object
21 22 23 |
# File 'lib/cijoe/talker.rb', line 21 def paste msg send msg end |
#speak(msg) ⇒ Object
17 18 19 |
# File 'lib/cijoe/talker.rb', line 17 def speak msg send msg end |