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