lib/yoti/client.rb in yoti-1.5.0 vs lib/yoti/client.rb in yoti-1.6.0
- old
+ new
@@ -13,13 +13,14 @@
#
def self.get_activity_details(encrypted_connect_token)
receipt = Yoti::ProfileRequest.new(encrypted_connect_token).receipt
user_profile = Protobuf.user_profile(receipt)
application_profile = Protobuf.application_profile(receipt)
+ extra_data = Protobuf.extra_data(receipt)
return ActivityDetails.new(receipt) if user_profile.nil?
- ActivityDetails.new(receipt, user_profile, application_profile)
+ ActivityDetails.new(receipt, user_profile, application_profile, extra_data)
end
def self.aml_check(aml_profile)
Yoti::AmlCheckRequest.new(aml_profile).response
end