Class: Moov::Models::Components::DepositAccountIngestedResponse
- Inherits:
-
Object
- Object
- Moov::Models::Components::DepositAccountIngestedResponse
- 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
- #==(other) ⇒ Object
-
#initialize(moov_account_id:, source_system:, source_account_id:, ingested_at:) ⇒ DepositAccountIngestedResponse
constructor
A new instance of DepositAccountIngestedResponse.
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 = moov_account_id @source_system = source_system @source_account_id = 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.moov_account_id return false unless @source_system == other.source_system return false unless @source_account_id == other.source_account_id return false unless @ingested_at == other.ingested_at true end |