Module: Campfire::Say
Defined Under Namespace
Classes: Error
Instance Method Summary collapse
Instance Method Details
#campfire ⇒ Object
19 20 21 |
# File 'lib/campfire-say.rb', line 19 def campfire @campfire ||= Tinder::Campfire.new(account, token: token) end |
#paste(message) ⇒ Object
11 12 13 |
# File 'lib/campfire-say.rb', line 11 def paste() room.paste() end |
#room ⇒ Object
15 16 17 |
# File 'lib/campfire-say.rb', line 15 def room @room ||= campfire.find_room_by_name(room_name) end |
#say(message) ⇒ Object
7 8 9 |
# File 'lib/campfire-say.rb', line 7 def say() room.speak() end |