Class: MagicPipe::Config
- Inherits:
-
Object
- Object
- MagicPipe::Config
- Defined in:
- lib/magic_pipe/config.rb
Constant Summary collapse
- FIELDS =
[ :client_name, # the name of this client :producer_name, :logger, # A Logger :metrics_client, # Statsd compatible object :loader, :codec, :transport, :sender, :https_transport_options, :sqs_transport_options, :async_transport_options, ]
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize {|_self| ... } ⇒ Config
Returns a new instance of Config.
27 28 29 30 |
# File 'lib/magic_pipe/config.rb', line 27 def initialize yield self if block_given? set_defaults end |