Class: TrackerHub::Request::Config
- Inherits:
-
Object
- Object
- TrackerHub::Request::Config
- Defined in:
- lib/tracker_hub/request/config.rb,
lib/tracker_hub/request/config/logger.rb,
lib/tracker_hub/request/config/env_keys.rb
Overview
TrackerHub::Request configuration object, can be setup in an initializer
Defined Under Namespace
Instance Attribute Summary collapse
-
#app_version ⇒ String
Version of the application logging the request data.
-
#logger ⇒ undefined
Logger object to log the request data with.
-
#notification ⇒ TrackerHub::Request::Notification
Service to send a notification to if request log process fails.
-
#required_keys ⇒ Array<String>
Rack env keys to log.
Instance Attribute Details
#app_version ⇒ String
Returns version of the application logging the request data.
25 26 27 |
# File 'lib/tracker_hub/request/config.rb', line 25 def app_version @app_version end |
#logger ⇒ undefined
Returns logger object to log the request data with.
12 13 14 |
# File 'lib/tracker_hub/request/config.rb', line 12 def logger @logger end |
#notification ⇒ TrackerHub::Request::Notification
Returns service to send a notification to if request log process fails.
21 22 23 |
# File 'lib/tracker_hub/request/config.rb', line 21 def notification @notification end |
#required_keys ⇒ Array<String>
Returns rack env keys to log.
16 17 18 |
# File 'lib/tracker_hub/request/config.rb', line 16 def required_keys @required_keys end |