Method: AsyncRequestReply::Config#initialize
- Defined in:
- lib/async_request_reply/config.rb
#initialize ⇒ Config
Returns a new instance of Config.
18 19 20 21 22 23 24 25 |
# File 'lib/async_request_reply/config.rb', line 18 def initialize @config ||= OpenStruct.new config.repository_adapter = DEFAULTS[:repository_adapter] config.redis_url_conection = DEFAULTS[:redis_url_conection] config.async_engine = DEFAULTS[:async_engine] config.logger = DEFAULTS[:logger] super end |