Class: Moov::Models::Components::WebhookDataBankAccountUpdated
- Inherits:
-
Object
- Object
- Moov::Models::Components::WebhookDataBankAccountUpdated
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/webhookdatabankaccountupdated.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(bank_account_id:, account_id:, status:, status_reason:, exception_details: nil) ⇒ WebhookDataBankAccountUpdated
constructor
A new instance of WebhookDataBankAccountUpdated.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(bank_account_id:, account_id:, status:, status_reason:, exception_details: nil) ⇒ WebhookDataBankAccountUpdated
Returns a new instance of WebhookDataBankAccountUpdated.
28 29 30 31 32 33 34 |
# File 'lib/moov/models/components/webhookdatabankaccountupdated.rb', line 28 def initialize(bank_account_id:, account_id:, status:, status_reason:, exception_details: nil) @bank_account_id = bank_account_id @account_id = account_id @status = status @status_reason = status_reason @exception_details = exception_details end |
Instance Method Details
#==(other) ⇒ Object
37 38 39 40 41 42 43 44 45 |
# File 'lib/moov/models/components/webhookdatabankaccountupdated.rb', line 37 def ==(other) return false unless other.is_a? self.class return false unless @bank_account_id == other.bank_account_id return false unless @account_id == other.account_id return false unless @status == other.status return false unless @status_reason == other.status_reason return false unless @exception_details == other.exception_details true end |