Module: BeltController::ImplicitResponse

Included in:
Base
Defined in:
lib/belt_controller/implicit_response.rb

Overview

Rails-like implicit JSON/HTML responses from action assigns / return values. Included by BeltController::Base so the base class stays under Metrics/ClassLength.

Constant Summary collapse

FRAMEWORK_IVARS =

Never auto-serialize these into the JSON body (framework internals).

%i[
  @event @raw_body @params @current_action @current_user_id @user_groups
  @logger @__assigns_before @__response_status
].freeze