Class: Moov::Models::Errors::BankAccountValidationError
- Inherits:
-
Object
- Object
- Moov::Models::Errors::BankAccountValidationError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/errors/bankaccountvalidationerror.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account: nil, plaid: nil, plaid_link: nil, mx: nil, error: nil, raw_response: nil) ⇒ BankAccountValidationError
constructor
A new instance of BankAccountValidationError.
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 = 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.account 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 |