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