Class: Platform::Api::BaseController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/platform/api/base_controller.rb

Defined Under Namespace

Classes: ApiError, BadRequestError, ForbiddenError, InvalidTokenError, JSONPError, LoginError, MethodNotAllowedError, ResponseStructureError, ServiceUnavailableError, UnauthorizedError

Constant Summary collapse

PLATFORM_NON_LOGGED_EXCEPTIONS =
[
  ActionController::MethodNotAllowed,
  ActionController::UnknownAction,
  ActiveRecord::RecordNotFound,
  ForbiddenError,
  MethodNotAllowedError, 
  ServiceUnavailableError,
  UnauthorizedError
]