Class: Clerk::Models::Components::SignUp
- Inherits:
-
Object
- Object
- Clerk::Models::Components::SignUp
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/signup.rb
Overview
Success
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(object:, id:, status:, required_fields:, optional_fields:, missing_fields:, unverified_fields:, verifications:, password_enabled:, custom_action:, abandon_at:, username: nil, email_address: nil, phone_number: nil, web3_wallet: nil, first_name: nil, last_name: nil, unsafe_metadata: nil, public_metadata: nil, external_id: nil, created_session_id: nil, created_user_id: nil, legal_accepted_at: nil, external_account: nil, locale: nil) ⇒ SignUp
constructor
A new instance of SignUp.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(object:, id:, status:, required_fields:, optional_fields:, missing_fields:, unverified_fields:, verifications:, password_enabled:, custom_action:, abandon_at:, username: nil, email_address: nil, phone_number: nil, web3_wallet: nil, first_name: nil, last_name: nil, unsafe_metadata: nil, public_metadata: nil, external_id: nil, created_session_id: nil, created_user_id: nil, legal_accepted_at: nil, external_account: nil, locale: nil) ⇒ SignUp
Returns a new instance of SignUp.
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/clerk/models/components/signup.rb', line 69 def initialize(object:, id:, status:, required_fields:, optional_fields:, missing_fields:, unverified_fields:, verifications:, password_enabled:, custom_action:, abandon_at:, username: nil, email_address: nil, phone_number: nil, web3_wallet: nil, first_name: nil, last_name: nil, unsafe_metadata: nil, public_metadata: nil, external_id: nil, created_session_id: nil, created_user_id: nil, legal_accepted_at: nil, external_account: nil, locale: nil) @object = object @id = id @status = status @required_fields = required_fields @optional_fields = optional_fields @missing_fields = missing_fields @unverified_fields = unverified_fields @verifications = verifications @password_enabled = password_enabled @custom_action = custom_action @abandon_at = abandon_at @username = username @email_address = email_address @phone_number = phone_number @web3_wallet = web3_wallet @first_name = first_name @last_name = last_name @unsafe_metadata = @public_metadata = @external_id = external_id @created_session_id = created_session_id @created_user_id = created_user_id @legal_accepted_at = legal_accepted_at @external_account = external_account @locale = locale end |
Instance Method Details
#==(other) ⇒ Object
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/clerk/models/components/signup.rb', line 98 def ==(other) return false unless other.is_a? self.class return false unless @object == other.object return false unless @id == other.id return false unless @status == other.status return false unless @required_fields == other.required_fields return false unless @optional_fields == other.optional_fields return false unless @missing_fields == other.missing_fields return false unless @unverified_fields == other.unverified_fields return false unless @verifications == other.verifications return false unless @password_enabled == other.password_enabled return false unless @custom_action == other.custom_action return false unless @abandon_at == other.abandon_at return false unless @username == other.username 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 @first_name == other.first_name return false unless @last_name == other.last_name return false unless @unsafe_metadata == other. return false unless @public_metadata == other. return false unless @external_id == other.external_id return false unless @created_session_id == other.created_session_id return false unless @created_user_id == other.created_user_id return false unless @legal_accepted_at == other.legal_accepted_at return false unless @external_account == other.external_account return false unless @locale == other.locale true end |