gottfrois/grape-attack

View on GitHub
lib/grape/attack/extension.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Grape
  module Attack
    module Extension

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

      ::Grape::API.extend self

    end
  end
end