Class: Unit::Types::RequireIdVerification
- Inherits:
-
Object
- Object
- Unit::Types::RequireIdVerification
- Defined in:
- lib/unit/types/require_id_verification.rb
Instance Attribute Summary collapse
-
#beneficial_owners ⇒ Object
readonly
Returns the value of attribute beneficial_owners.
-
#individual ⇒ Object
readonly
Returns the value of attribute individual.
-
#officer ⇒ Object
readonly
Returns the value of attribute officer.
Instance Method Summary collapse
-
#initialize(individual = nil, officer = nil, beneficial_owners = nil) ⇒ RequireIdVerification
constructor
A new instance of RequireIdVerification.
- #represent ⇒ Object
Constructor Details
#initialize(individual = nil, officer = nil, beneficial_owners = nil) ⇒ RequireIdVerification
Returns a new instance of RequireIdVerification.
13 14 15 16 17 |
# File 'lib/unit/types/require_id_verification.rb', line 13 def initialize(individual = nil, officer = nil, beneficial_owners = nil) @individual = individual @officer = officer @beneficial_owners = beneficial_owners end |
Instance Attribute Details
#beneficial_owners ⇒ Object (readonly)
Returns the value of attribute beneficial_owners.
8 9 10 |
# File 'lib/unit/types/require_id_verification.rb', line 8 def beneficial_owners @beneficial_owners end |
#individual ⇒ Object (readonly)
Returns the value of attribute individual.
8 9 10 |
# File 'lib/unit/types/require_id_verification.rb', line 8 def individual @individual end |
#officer ⇒ Object (readonly)
Returns the value of attribute officer.
8 9 10 |
# File 'lib/unit/types/require_id_verification.rb', line 8 def officer @officer end |
Instance Method Details
#represent ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/unit/types/require_id_verification.rb', line 19 def represent payload = { individual: individual, officer: officer, beneficialOwners: beneficial_owners } payload.compact end |