Module Grape::DSL::Callbacks
In: lib/grape/dsl/callbacks.rb

Blocks can be executed before or after every API call, using `before`, `after`, `before_validation` and `after_validation`.

Before and after callbacks execute in the following order:

  1. `before`
  2. `before_validation`
  3. validations
  4. `after_validation`
  5. _the API call_
  6. `after`

Steps 4, 5 and 6 only happen if validation succeeds.

Included Modules

Grape::DSL::Configuration

Classes and Modules

Module Grape::DSL::Callbacks::ClassMethods

[Validate]