Class: Moov::Models::Components::WebhookDataTransferUpdated
- Inherits:
-
Object
- Object
- Moov::Models::Components::WebhookDataTransferUpdated
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/webhookdatatransferupdated.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, transfer_id:, status:, source:, destination:, foreign_id: nil) ⇒ WebhookDataTransferUpdated
constructor
A new instance of WebhookDataTransferUpdated.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id:, transfer_id:, status:, source:, destination:, foreign_id: nil) ⇒ WebhookDataTransferUpdated
Returns a new instance of WebhookDataTransferUpdated.
30 31 32 33 34 35 36 37 |
# File 'lib/moov/models/components/webhookdatatransferupdated.rb', line 30 def initialize(account_id:, transfer_id:, status:, source:, destination:, foreign_id: nil) @account_id = account_id @transfer_id = transfer_id @status = status @source = source @destination = destination @foreign_id = foreign_id end |
Instance Method Details
#==(other) ⇒ Object
40 41 42 43 44 45 46 47 48 49 |
# File 'lib/moov/models/components/webhookdatatransferupdated.rb', line 40 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @transfer_id == other.transfer_id return false unless @status == other.status return false unless @source == other.source return false unless @destination == other.destination return false unless @foreign_id == other.foreign_id true end |