Class: Moov::Models::Components::PaymentMethodsWallet
- Inherits:
-
Object
- Object
- Moov::Models::Components::PaymentMethodsWallet
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/paymentmethodswallet.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(wallet_id:) ⇒ PaymentMethodsWallet
constructor
A new instance of PaymentMethodsWallet.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(wallet_id:) ⇒ PaymentMethodsWallet
Returns a new instance of PaymentMethodsWallet.
20 21 22 |
# File 'lib/moov/models/components/paymentmethodswallet.rb', line 20 def initialize(wallet_id:) @wallet_id = wallet_id end |
Instance Method Details
#==(other) ⇒ Object
25 26 27 28 29 |
# File 'lib/moov/models/components/paymentmethodswallet.rb', line 25 def ==(other) return false unless other.is_a? self.class return false unless @wallet_id == other.wallet_id true end |