abstract class PlaceOS::Core::Api::Application
- PlaceOS::Core::Api::Application
- ActionController::Base
- Reference
- Object
Direct Known Subclasses
- PlaceOS::Core::Api::Chaos
- PlaceOS::Core::Api::Command
- PlaceOS::Core::Api::Drivers
- PlaceOS::Core::Api::Edge
- PlaceOS::Core::Api::Root
- PlaceOS::Core::Api::Status
Defined in:
api/application.crConstant Summary
-
Log =
::PlaceOS::Core::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
-
#common_error(error) : CommonError
handler for common errors
-
#invalid_param(error) : ParameterError
handles paramater missing or a bad paramater value / format
- #request_id : String
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