Sha256: 1b49c4bbe59e2f868b7275d27fc913b8e8731f57697b6ecc558f38387fcabdfe
Contents?: true
Size: 680 Bytes
Versions: 10
Compression:
Stored size: 680 Bytes
Contents
# frozen_string_literal: true module Yoti module Share class ExtraData attr_reader :attribute_issuance_details # # Constructor # # @param [Yoti::Protobuf::Sharepubapi::ExtraData] proto # def initialize(proto) @attribute_issuance_details = nil proto.list.each do |data_entry| if data_entry.type == :THIRD_PARTY_ATTRIBUTE && @attribute_issuance_details.nil? attribute = Yoti::Protobuf::Sharepubapi::ThirdPartyAttribute.decode(data_entry.value) @attribute_issuance_details = Yoti::Share::AttributeIssuanceDetails.new(attribute) end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems