Sha256: be94c0044dce9c96820c9a9385c1490490ed7d8491b638590b53fb5b64ba1cff
Contents?: true
Size: 1.78 KB
Versions: 21
Compression:
Stored size: 1.78 KB
Contents
# 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.
Version data entries
21 entries across 21 versions & 1 rubygems