Skip to content

Commit

Permalink
Map access key/secret names to SimpleOAuth correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Oct 15, 2010
1 parent 67d3ace commit 9fa5be3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/twitter/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ def oauth_header(path, options, method)
oauth_params = {
:consumer_key => self.consumer_key,
:consumer_secret => self.consumer_secret,
:access_key => self.access_key,
:access_secret => self.access_secret
:token => self.access_key,
:token_secret => self.access_secret
}
SimpleOAuth::Header.new(method, connection.build_url(path), options, oauth_params).to_s
end
Expand Down

0 comments on commit 9fa5be3

Please sign in to comment.