Class: Moov::Models::Components::PlaidPayload

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

Overview

Describes the account to link to the Moov account using a Plaid processor token.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(plaid:) ⇒ PlaidPayload

Returns a new instance of PlaidPayload.



29
30
31
# File 'lib/moov/models/components/plaidpayload.rb', line 29

def initialize(plaid:)
  @plaid = plaid
end

Instance Method Details

#==(other) ⇒ Object



34
35
36
37
38
# File 'lib/moov/models/components/plaidpayload.rb', line 34

def ==(other)
  return false unless other.is_a? self.class
  return false unless @plaid == other.plaid
  true
end