module GrapeThrottler::Extensions::ThrottleExtension

Public Instance Methods

throttle(options = {}) click to toggle source
# File lib/grape-throttler/extensions/throttle_extension.rb, line 7
def throttle(options = {})
  route_setting :throttle, options
  options
end