class

Application

Inherits ActionController::Base < ActionController::Responders < ActionController::Route::Builder < Reference < Object

Constants

Log = ::PlaceOS::Triggers::Log.for("controller")
PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json"]

Instance methods

bad_media_type(error) : ContentError

covers no acceptable response format and not an acceptable post format

Source
invalid_param(error) : ParameterError

handles paramater missing or a bad paramater value / format

Source
resource_not_found(error) : CommonError

404 if resource not present

Source
resource_requires_authentication(error) : CommonError

401 if no bearer token

Source

Nested types