Class: Moov::Models::Components::PlaidIntegration
- Inherits:
-
Object
- Object
- Moov::Models::Components::PlaidIntegration
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/plaidintegration.rb
Overview
The details of a Plaid processor integration for a linked funding source.
‘sandbox` - When linking a bank account to a `sandbox` account using a Plaid processor token a default bank account response will be used. The following default data will be used to generate the bank account in this flow:
“‘
RoutingNumber: "011401533",
AccountNumber: "1111222233330000",
AccountType: "checking",
Mask: "0000"
“‘
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(token:) ⇒ PlaidIntegration
constructor
A new instance of PlaidIntegration.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(token:) ⇒ PlaidIntegration
Returns a new instance of PlaidIntegration.
30 31 32 |
# File 'lib/moov/models/components/plaidintegration.rb', line 30 def initialize(token:) @token = token end |
Instance Method Details
#==(other) ⇒ Object
35 36 37 38 39 |
# File 'lib/moov/models/components/plaidintegration.rb', line 35 def ==(other) return false unless other.is_a? self.class return false unless @token == other.token true end |