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.



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

def initialize(plaid:)
  @plaid = plaid
end

Instance Method Details

#==(other) ⇒ Object



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

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