Skip to content

Commit

Permalink
Added SSL connection
Browse files Browse the repository at this point in the history
  • Loading branch information
chmeee committed Aug 21, 2009
1 parent a3e4b78 commit 0e9de0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twitter_account.rb
Expand Up @@ -6,7 +6,7 @@ class TwitterAccount

def initialize
config = ConfigStore.new("#{ENV['HOME']}/.twitter")
httpauth = Twitter::HTTPAuth.new(config['email'], config['password'])
httpauth = Twitter::HTTPAuth.new(config['email'], config['password'], :ssl => true)
@account = Twitter::Base.new(httpauth)

@friends = @account.friends.map do |friend|
Expand Down

0 comments on commit 0e9de0d

Please sign in to comment.