| Module | Grape::DSL::Middleware::ClassMethods |
| In: |
lib/grape/dsl/middleware.rb
|
Retrieve an array of the middleware classes and arguments that are currently applied to the application.
Apply a custom middleware to the API. Applies to the current namespace and any children, but not parents.
@param middleware_class [Class] The class of the middleware you‘d like
to inject.