Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Fix webhook signatures example
Browse files Browse the repository at this point in the history
  • Loading branch information
timcraft committed Nov 17, 2016
1 parent acacf99 commit 443327a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -257,10 +257,11 @@ Docs: [https://docs.nexmo.com/tools/application-api/api-reference#delete](https:
```ruby
client = Nexmo::Client.new(signature_secret: 'secret')

if client.check_signature(request.params):
if client.check_signature(request.GET)
# valid signature
else:
else
# invalid signature
end
```

Docs: [https://docs.nexmo.com/messaging/signing-messages](https://docs.nexmo.com/messaging/signing-messages?utm_source=DEV_REL&utm_medium=github&utm_campaign=ruby-client-library)
Expand Down

0 comments on commit 443327a

Please sign in to comment.