Class: Multiwoven::Integrations::Config
- Inherits:
-
Object
- Object
- Multiwoven::Integrations::Config
- Defined in:
- lib/multiwoven/integrations/config.rb
Instance Attribute Summary collapse
-
#cache ⇒ Object
cache: optional host store responding to read(key), write(key, value, expires_in:) and delete(key).
-
#exception_reporter ⇒ Object
cache: optional host store responding to read(key), write(key, value, expires_in:) and delete(key).
-
#logger ⇒ Object
cache: optional host store responding to read(key), write(key, value, expires_in:) and delete(key).
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(params = {}) ⇒ Config
Returns a new instance of Config.
10 11 12 13 14 |
# File 'lib/multiwoven/integrations/config.rb', line 10 def initialize(params = {}) @logger = params[:logger] @exception_reporter = params[:exception_reporter] @cache = params[:cache] end |
Instance Attribute Details
#cache ⇒ Object
cache: optional host store responding to read(key), write(key, value, expires_in:) and delete(key). Without one, caching is a per-process memo.
8 9 10 |
# File 'lib/multiwoven/integrations/config.rb', line 8 def cache @cache end |
#exception_reporter ⇒ Object
cache: optional host store responding to read(key), write(key, value, expires_in:) and delete(key). Without one, caching is a per-process memo.
8 9 10 |
# File 'lib/multiwoven/integrations/config.rb', line 8 def exception_reporter @exception_reporter end |
#logger ⇒ Object
cache: optional host store responding to read(key), write(key, value, expires_in:) and delete(key). Without one, caching is a per-process memo.
8 9 10 |
# File 'lib/multiwoven/integrations/config.rb', line 8 def logger @logger end |