Class: Yoti::Sandbox::Profile::AgeVerification
- Inherits:
-
Object
- Object
- Yoti::Sandbox::Profile::AgeVerification
- Defined in:
- lib/yoti_sandbox/profile/age_verification.rb
Overview
Represents an Age Verification attribute that can be used by the profile sandbox service
Class Method Summary collapse
Instance Method Summary collapse
Constructor Details
#initialize(date_of_birth:, derivation:, anchors: []) ⇒ self
18 19 20 21 22 23 24 25 26 |
# File 'lib/yoti_sandbox/profile/age_verification.rb', line 18 def initialize( date_of_birth:, derivation:, anchors: [] ) @date_of_birth = date_of_birth @derivation = derivation @anchors = anchors end |
Class Method Details
.builder ⇒ AgeVerificationBuilder
31 32 33 |
# File 'lib/yoti_sandbox/profile/age_verification.rb', line 31 def self.builder AgeVerificationBuilder.new end |