# Model concerns - #### [NeetoCommonsBackend::ApiHelpers](https://github.com/bigbinary/neeto-commons-backend/blob/main/lib/neeto_commons_backend/controllers/concerns/api_helpers.rb) This concern adds API helper method i.e. `full_messages_with_keys_for` to the controllers. - #### [NeetoCommonsBackend::ApiExceptions](https://github.com/bigbinary/neeto-commons-backend/blob/main/lib/neeto_commons_backend/controllers/concerns/api_exceptions.rb) This concern handles all the API exceptions and errors. This concern also logs errors to Honeybadger. - #### [NeetoCommonsBackend::ApiResponders](https://github.com/bigbinary/neeto-commons-backend/blob/main/lib/neeto_commons_backend/controllers/concerns/api_responders.rb) This concern adds API responder methods to the controller. Available methods are as follows: 1. `render_message` 2. `render_success` 3. `render_error` 4. `render_notice` 5. `render_json` 6. `respond_with_error` (will be deprecated) 7. `respond_with_success` (will be deprecated) 8. `respond_with_json` (will be deprecated) - #### [NeetoCommonsBackend::HoneybadgerContext](https://github.com/bigbinary/neeto-commons-backend/blob/main/lib/neeto_commons_backend/controllers/concerns/honeybadger_context.rb) This concern initializes the Honeybadger context for the current user. - #### [NeetoCommonsBackend::Authenticatable](https://github.com/bigbinary/neeto-commons-backend/blob/main/lib/neeto_commons_backend/controllers/concerns/authenticatable.rb) This concern authenticates the `curent_user` using auth token. - #### [NeetoCommonsBackend::StoreUserLocation](https://github.com/bigbinary/neeto-commons-backend/blob/main/lib/neeto_commons_backend/controllers/concerns/store_user_location.rb) This concern stores the provided location.