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