Class: Moov::Models::Components::BankAccountPayload
- Inherits:
-
Object
- Object
- Moov::Models::Components::BankAccountPayload
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/bankaccountpayload.rb
Overview
Describes the bank account to link to the Moov account.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account:) ⇒ BankAccountPayload
constructor
A new instance of BankAccountPayload.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account:) ⇒ BankAccountPayload
Returns a new instance of BankAccountPayload.
20 21 22 |
# File 'lib/moov/models/components/bankaccountpayload.rb', line 20 def initialize(account:) @account = account end |
Instance Method Details
#==(other) ⇒ Object
25 26 27 28 29 |
# File 'lib/moov/models/components/bankaccountpayload.rb', line 25 def ==(other) return false unless other.is_a? self.class return false unless @account == other.account true end |