Sha256: 1a6a3484bb81733ba6d9bf25762ba04cb9905aef6a5ccbed0e2d0cf24d4d03a7

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

module Yoti
  # Encapsulates profile attribute
  class Attribute
    FAMILY_NAME = 'family_name'
    GIVEN_NAMES = 'given_names'
    FULL_NAME = 'full_name'
    DATE_OF_BIRTH = 'date_of_birth'
    GENDER = 'gender'
    NATIONALITY = 'nationality'
    PHONE_NUMBER = 'phone_number'
    SELFIE = 'selfie'
    EMAIL_ADDRESS = 'email_address'
    POSTAL_ADDRESS = 'postal_address'
    STRUCTURED_POSTAL_ADDRESS = 'structured_postal_address'
    DOCUMENT_IMAGES = 'document_images'

    attr_reader :name, :value, :sources, :verifiers

    def initialize(name, value, sources, verifiers)
      @name = name
      @value = value
      @sources = sources
      @verifiers = verifiers
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yoti-1.4.0 lib/yoti/data_type/attribute.rb