Class: Clerk::Models::Components::SignUpVerifications

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/components/signupverifications.rb

Instance Method Summary collapse

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 = 
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.
  true
end