Class: PeepingTom::Notifier::Campfire
- Inherits:
-
Object
- Object
- PeepingTom::Notifier::Campfire
- Defined in:
- lib/peeping_tom/notifier/campfire.rb
Instance Method Summary collapse
-
#initialize(subdomain, token, room) ⇒ Campfire
constructor
A new instance of Campfire.
- #notify!(site) ⇒ Object
Constructor Details
#initialize(subdomain, token, room) ⇒ Campfire
Returns a new instance of Campfire.
6 7 8 9 |
# File 'lib/peeping_tom/notifier/campfire.rb', line 6 def initialize(subdomain, token, room) Broach.settings = {'account' => subdomain, 'token' => token} @room = room end |