Class: CIJoe::Talker::TalkerRoom

Inherits:
Object
  • Object
show all
Defined in:
lib/cijoe/talker.rb

Instance Method Summary collapse

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, options)
  @subdomain  = subdomain
  @ssl        = options[:ssl]
  @room_id    = options[:room]
  @token      = options[:token]
end

Instance Method Details

#leaveObject



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