Class: Clerk::Models::Components::Web3Wallet

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(object:, web3_wallet:, created_at:, updated_at:, id: nil, verification: nil) ⇒ Web3Wallet

Returns a new instance of Web3Wallet.



32
33
34
35
36
37
38
39
# File 'lib/clerk/models/components/web3wallet.rb', line 32

def initialize(object:, web3_wallet:, created_at:, updated_at:, id: nil, verification: nil)
  @object = object
  @web3_wallet = web3_wallet
  @created_at = created_at
  @updated_at = updated_at
  @id = id
  @verification = verification
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
49
50
51
# File 'lib/clerk/models/components/web3wallet.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @object == other.object
  return false unless @web3_wallet == other.web3_wallet
  return false unless @created_at == other.created_at
  return false unless @updated_at == other.updated_at
  return false unless @id == other.id
  return false unless @verification == other.verification
  true
end