Skip to content

Commit

Permalink
Merge pull request #1 from stevegraham/master
Browse files Browse the repository at this point in the history
readme fix
  • Loading branch information
Martyn Loughran committed Jul 21, 2011
2 parents 0ae6435 + a67e90c commit 1b21d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Server example (sinatra)
end

post '/api/thing' do
request = Authentication::Request.new('POST', env["REQUEST_PATH"], params)
request = Signature::Request.new('POST', env["REQUEST_PATH"], params)
# This will raise a Signature::AuthenticationError if request does not authenticate
token = request.authenticate do |key|
Signature::Token.new(key, lookup_secret(key))
Expand Down

0 comments on commit 1b21d15

Please sign in to comment.