Class: Weeter::Configuration::LimiterConfig
- Inherits:
-
Object
- Object
- Weeter::Configuration::LimiterConfig
- Includes:
- Singleton
- Defined in:
- lib/weeter/configuration/limiter_config.rb
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
- #enabled ⇒ Object
-
#max ⇒ Object
Returns the value of attribute max.
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration.
9 10 11 |
# File 'lib/weeter/configuration/limiter_config.rb', line 9 def duration @duration end |
#enabled ⇒ Object
11 12 13 |
# File 'lib/weeter/configuration/limiter_config.rb', line 11 def enabled @enabled || false end |
#max ⇒ Object
Returns the value of attribute max.
9 10 11 |
# File 'lib/weeter/configuration/limiter_config.rb', line 9 def max @max end |