Module: Grape::Attack::Extension

Extended by:
Extension
Included in:
Extension
Defined in:
lib/grape/attack/extension.rb

Instance Method Summary collapse

Instance Method Details

#throttle(options = {}) ⇒ Object



5
6
7
8
# File 'lib/grape/attack/extension.rb', line 5

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