Class: ActsAsCalculatorEditor::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/acts_as_calculator_editor/application_controller.rb

Overview

This engine calls the core gem's Decrees in-process rather than over HTTP (docs/core-gem-contract.md §1), which means it also inherits the job the core gem's own ApplicationController was doing: turning ActsAsCalculator::Error into a status code. The mapping below is the same table, deliberately — a divergence here would mean the same failure reads as a different kind of problem depending on which door you came in.

There is no authentication or authorization here, matching the core gem: a host wraps the mounted engine in its own.