Class: Moov::Models::Components::DepositAccountIngestedResponse

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

Overview

The result of ingesting a deposit account into the deposit view.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(moov_account_id:, source_system:, source_account_id:, ingested_at:) ⇒ DepositAccountIngestedResponse

Returns a new instance of DepositAccountIngestedResponse.



25
26
27
28
29
30
# File 'lib/moov/models/components/depositaccountingestedresponse.rb', line 25

def initialize(moov_account_id:, source_system:, source_account_id:, ingested_at:)
  @moov_account_id = 
  @source_system = source_system
  @source_account_id = 
  @ingested_at = ingested_at
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/moov/models/components/depositaccountingestedresponse.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @moov_account_id == other.
  return false unless @source_system == other.source_system
  return false unless @source_account_id == other.
  return false unless @ingested_at == other.ingested_at
  true
end