abstract class Application
- Application
- ActionController::Base
- Reference
- Object
Direct Known Subclasses
Defined in:
controllers/application.crConstant Summary
-
Log =
::PlaceOS::Triggers::Log.for("controller")
-
PARSER_LIST =
["application/json"]
-
RESPONDER_LIST =
["application/json"]
Instance Method Summary
-
#bad_media_type(error) : ContentError
covers no acceptable response format and not an acceptable post format
-
#invalid_param(error) : ParameterError
handles paramater missing or a bad paramater value / format
-
#resource_not_found(error) : CommonError
404 if resource not present
-
#resource_requires_authentication(error) : CommonError
401 if no bearer token
Instance Method Detail
def bad_media_type(error) : ContentError
#
covers no acceptable response format and not an acceptable post format
def invalid_param(error) : ParameterError
#
handles paramater missing or a bad paramater value / format