lib/yoti/share/attribute_issuance_details.rb in yoti-1.6.0 vs lib/yoti/share/attribute_issuance_details.rb in yoti-1.6.1

- old
+ new

@@ -26,10 +26,10 @@ # Constructor # # @param [Yoti::Protobuf::Sharepubapi::ThirdPartyAttribute] data_entry # def initialize(data_entry) - @token = Base64.encode64(data_entry.issuance_token) + @token = Base64.strict_encode64(data_entry.issuance_token) begin @expiry_date = DateTime.parse(data_entry.issuing_attributes.expiry_date) rescue ArgumentError @expiry_date = nil end