Permalink
Browse files

* Add config param for Campfire with SSL (defaults to false)

  • Loading branch information...
1 parent 266eb7e commit f65d1b9e4aa55948da76fb098f1b9a47a876cb8b Matt Pelletier committed Apr 2, 2008
Showing with 2 additions and 1 deletion.
  1. +1 −0 config.yml.example
  2. +1 −1 github-campfire.rb
View
@@ -1,5 +1,6 @@
repo-name:
subdomain: chattastic
+ ssl: true
username: campfire-user@foo.com
password: p00p
room: "My Awesome Room"
View
@@ -19,7 +19,7 @@ def initialize(payload)
def connect(repo)
credentials = REPOS[repo]
- campfire = Tinder::Campfire.new(credentials['subdomain'])
+ campfire = Tinder::Campfire.new(credentials['subdomain'], :ssl => credentials['ssl'] || false)
campfire.login(credentials['username'], credentials['password'])
return campfire.find_room_by_name(credentials['room'])
end

0 comments on commit f65d1b9

Please sign in to comment.