module Grape::DSL::Callbacks
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:
-
`before`
-
`before_validation`
-
validations
-
`after_validation`
-
_the
API
call_ -
`after`
Steps 4, 5 and 6 only happen if validation succeeds.