Module: RailsOnboarding::Configuration::RateLimiting
- Included in:
- RailsOnboarding::Configuration
- Defined in:
- lib/rails_onboarding/configuration/rate_limiting.rb
Overview
Rate limiting configuration (RailsOnboarding::RateLimitable) - opt-in.
Instance Attribute Summary collapse
-
#rate_limit_per_period ⇒ Object
Returns the value of attribute rate_limit_per_period.
-
#rate_limit_period ⇒ Object
Returns the value of attribute rate_limit_period.
-
#rate_limiting_enabled ⇒ Object
Returns the value of attribute rate_limiting_enabled.
Instance Attribute Details
#rate_limit_per_period ⇒ Object
Returns the value of attribute rate_limit_per_period.
5 6 7 |
# File 'lib/rails_onboarding/configuration/rate_limiting.rb', line 5 def rate_limit_per_period @rate_limit_per_period end |
#rate_limit_period ⇒ Object
Returns the value of attribute rate_limit_period.
5 6 7 |
# File 'lib/rails_onboarding/configuration/rate_limiting.rb', line 5 def rate_limit_period @rate_limit_period end |
#rate_limiting_enabled ⇒ Object
Returns the value of attribute rate_limiting_enabled.
5 6 7 |
# File 'lib/rails_onboarding/configuration/rate_limiting.rb', line 5 def rate_limiting_enabled @rate_limiting_enabled end |