Class: Moov::Models::Operations::UpdateWalletRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::UpdateWalletRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/updatewallet_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(wallet_id:, account_id:, patch_wallet:, x_moov_version: nil) ⇒ UpdateWalletRequest
constructor
A new instance of UpdateWalletRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(wallet_id:, account_id:, patch_wallet:, x_moov_version: nil) ⇒ UpdateWalletRequest
Returns a new instance of UpdateWalletRequest.
34 35 36 37 38 39 |
# File 'lib/moov/models/operations/updatewallet_request.rb', line 34 def initialize(wallet_id:, account_id:, patch_wallet:, x_moov_version: nil) @wallet_id = wallet_id @account_id = account_id @patch_wallet = patch_wallet @x_moov_version = x_moov_version end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 |
# File 'lib/moov/models/operations/updatewallet_request.rb', line 42 def ==(other) return false unless other.is_a? self.class return false unless @wallet_id == other.wallet_id return false unless @account_id == other.account_id return false unless @patch_wallet == other.patch_wallet return false unless @x_moov_version == other.x_moov_version true end |