Method: Unit::Types::TrustContact#initialize

Defined in:
lib/unit/types/trust_contact.rb

#initialize(full_name, email, phone, address, jwt_subject = nil) ⇒ TrustContact

Returns a new instance of TrustContact.

Parameters:

  • full_name (FullName)
  • email (String)
  • phone (Phone)
  • address (Address)
  • jwt_subject (String) (defaults to: nil)
    • optional



14
15
16
17
18
19
20
# File 'lib/unit/types/trust_contact.rb', line 14

def initialize(full_name, email, phone, address, jwt_subject = nil)
  @full_name = full_name
  @email = email
  @phone = phone
  @address = address
  @jwt_subject = jwt_subject
end