Method: Trailblazer::Endpoint::Adapter::API::Errors::Handlers#handle_not_authorized
- Defined in:
- lib/trailblazer/endpoint/adapter.rb
#handle_not_authorized(ctx, errors:) ⇒ Object
93 94 95 |
# File 'lib/trailblazer/endpoint/adapter.rb', line 93 def (ctx, errors:, **) errors. = "Action not allowed due to a policy setting." end |