Class: Capistrano::Campfire
- Inherits:
-
Object
- Object
- Capistrano::Campfire
- Defined in:
- lib/capistrano/campfire.rb
Class Method Summary collapse
Class Method Details
.load_into(configuration) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/capistrano/campfire.rb', line 5 def self.load_into(configuration) configuration.load do set :campfire_options, {} set :campfire_room do require 'tinder' account = [:account] token = [:token] ssl = [:ssl] room_name = [:room] campfire = ::Tinder::Campfire.new account, :token => token, :ssl => ssl campfire.find_room_by_name(room_name) end end end |