Module: GrapeThrottler::Extensions::ThrottleExtension

Extended by:
ThrottleExtension
Included in:
ThrottleExtension
Defined in:
lib/grape-throttler/extensions/throttle_extension.rb

Instance Method Summary collapse

Instance Method Details

#throttle(options = {}) ⇒ Object



7
8
9
10
# File 'lib/grape-throttler/extensions/throttle_extension.rb', line 7

def throttle(options = {})
  route_setting :throttle, options
  options
end