Class: ActsAsCalculator::ApplicationController

Inherits:
ActionController::API
  • Object
show all
Defined in:
app/controllers/acts_as_calculator/application_controller.rb

Overview

There is deliberately no authentication or authorization here, and no before_action stub inviting one (docs/PLAN.md, "Constraints & non-goals"). The gem's only gate is the routing constraint in config/routes.rb; a host that opts the API on wraps the mounted engine in its own auth, at its own mount point.