Class: Clerk::Models::Components::SignUpVerifications
- Inherits:
-
Object
- Object
- Clerk::Models::Components::SignUpVerifications
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/signupverifications.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(email_address: nil, phone_number: nil, web3_wallet: nil, external_account: nil) ⇒ SignUpVerifications
constructor
A new instance of SignUpVerifications.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(email_address: nil, phone_number: nil, web3_wallet: nil, external_account: nil) ⇒ SignUpVerifications
Returns a new instance of SignUpVerifications.
25 26 27 28 29 30 |
# File 'lib/clerk/models/components/signupverifications.rb', line 25 def initialize(email_address: nil, phone_number: nil, web3_wallet: nil, external_account: nil) @email_address = email_address @phone_number = phone_number @web3_wallet = web3_wallet @external_account = external_account end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/clerk/models/components/signupverifications.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @email_address == other.email_address return false unless @phone_number == other.phone_number return false unless @web3_wallet == other.web3_wallet return false unless @external_account == other.external_account true end |