Module: Nexaas::Throttle
- Defined in:
- lib/nexaas/throttle.rb,
lib/nexaas/throttle/engine.rb,
lib/nexaas/throttle/version.rb,
lib/nexaas/throttle/guardian.rb,
lib/nexaas/throttle/middleware.rb,
lib/nexaas/throttle/configuration.rb
Defined Under Namespace
Classes: Configuration, Engine, Guardian, Middleware
Constant Summary
collapse
- VERSION =
"1.0.0".freeze
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
13
14
15
|
# File 'lib/nexaas/throttle.rb', line 13
def self.configuration
@configuration ||= Configuration.new
end
|
8
9
10
11
|
# File 'lib/nexaas/throttle.rb', line 8
def self.configure
yield(configuration) if block_given?
configuration.check!
end
|