Class: Moov::Models::Errors::BankAccountValidationError

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/errors/bankaccountvalidationerror.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(account: nil, plaid: nil, plaid_link: nil, mx: nil, error: nil, raw_response: nil) ⇒ BankAccountValidationError

Returns a new instance of BankAccountValidationError.



30
31
32
33
34
35
36
37
# File 'lib/moov/models/errors/bankaccountvalidationerror.rb', line 30

def initialize(account: nil, plaid: nil, plaid_link: nil, mx: nil, error: nil, raw_response: nil)
  @account = 
  @plaid = plaid
  @plaid_link = plaid_link
  @mx = mx
  @error = error
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/moov/models/errors/bankaccountvalidationerror.rb', line 40

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account == other.
  return false unless @plaid == other.plaid
  return false unless @plaid_link == other.plaid_link
  return false unless @mx == other.mx
  return false unless @error == other.error
  return false unless @raw_response == other.raw_response
  true
end