class CivicSIPSdk::UserDataItem

Attributes

is_owner[R]
is_valid[R]
label[R]
value[R]

Public Class Methods

new(label:, value:, is_valid:, is_owner:) click to toggle source

Creates an instance of UserDataItem.

@param label [String] Descriptive value identifier. @param value [String] Item value of requested user data. @param is_valid [String] Indicates whether or not the data is still considered valid on the blockchain. @param is_owner [String] Civic SIP service challenges the user during scope request approval to ensure

the user is in control of the private key originally used in the issuance of the data attestation.
# File lib/civic_sip_sdk/user_data_item.rb, line 14
def initialize(label:, value:, is_valid:, is_owner:)
  @label = label
  @value = value
  @is_valid = is_valid
  @is_owner = is_owner
end