- An instance of
Sumsub::Requestreturns now only the url without/resources(e.g.,sumsub.urlwashttps://api.sumsub.com/resourcesand now it ishttps://api.sumsub.com).
- Require level name as argument in
get_access_tokenofSumsub::Request. This change makes the method compatible with the recent updates in the Sumsub SDK.
- General minor fixes (don't require dev gems in the production build, add extra ignored files in
.gitignore, etc); - Move the
require 'dry-struct'to thelib/sumsub.rb, so we don't need to always require it in our structs; - Add
generate_external_link; - Updated structs with new fields;
- Add
WebhookSenderwithget_payloadclass method to format the payload before informing it to theverify_webhook_sendermethod (those strange string transformations are necessary in order to receive the right answer from Sumsub).