README.md in payu_api-0.1.1 vs README.md in payu_api-0.1.2
- old
+ new
@@ -166,9 +166,20 @@
# }
# ]
# }
```
+Verify notification signature:
+
+```ruby
+PayuAPI.signature_valid?(
+ body: request.raw_post,
+ headers: request.headers,
+ second_key: '17d24f...'
+)
+# => true
+```
+
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/busfor/payu_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.