Class: Moov::Models::Operations::UpdateTransferRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::UpdateTransferRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/updatetransfer_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(transfer_id:, account_id:, patch_transfer:) ⇒ UpdateTransferRequest
constructor
A new instance of UpdateTransferRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(transfer_id:, account_id:, patch_transfer:) ⇒ UpdateTransferRequest
Returns a new instance of UpdateTransferRequest.
23 24 25 26 27 |
# File 'lib/moov/models/operations/updatetransfer_request.rb', line 23 def initialize(transfer_id:, account_id:, patch_transfer:) @transfer_id = transfer_id @account_id = account_id @patch_transfer = patch_transfer end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/moov/models/operations/updatetransfer_request.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @transfer_id == other.transfer_id return false unless @account_id == other.account_id return false unless @patch_transfer == other.patch_transfer true end |