Class: ActionLimiter::TokenBucket::Bucket
- Inherits:
-
Struct
- Object
- Struct
- ActionLimiter::TokenBucket::Bucket
- Defined in:
- lib/action_limiter/token_bucket.rb
Overview
Instance Attribute Summary collapse
-
#max_size ⇒ Object
Returns the value of attribute max_size.
-
#name ⇒ Object
Returns the value of attribute name.
-
#period ⇒ Object
Returns the value of attribute period.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#max_size ⇒ Object
Returns the value of attribute max_size
16 17 18 |
# File 'lib/action_limiter/token_bucket.rb', line 16 def max_size @max_size end |
#name ⇒ Object
Returns the value of attribute name
16 17 18 |
# File 'lib/action_limiter/token_bucket.rb', line 16 def name @name end |
#period ⇒ Object
Returns the value of attribute period
16 17 18 |
# File 'lib/action_limiter/token_bucket.rb', line 16 def period @period end |
#value ⇒ Object
Returns the value of attribute value
16 17 18 |
# File 'lib/action_limiter/token_bucket.rb', line 16 def value @value end |