- An instance of
Sumsub::Request
returns now only the url without/resources
(e.g.,sumsub.url
washttps://api.sumsub.com/resources
and now it ishttps://api.sumsub.com
).
- Require level name as argument in
get_access_token
ofSumsub::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
WebhookSender
withget_payload
class method to format the payload before informing it to theverify_webhook_sender
method (those strange string transformations are necessary in order to receive the right answer from Sumsub).
- New rejection labels (PR)