Class: Rack::Honeycomb::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Rack::Honeycomb::Railtie
- Defined in:
- lib/rack-honeycomb/railtie.rb
Class Attribute Summary collapse
-
.honeycomb_client ⇒ Object
readonly
Returns the value of attribute honeycomb_client.
-
.logger ⇒ Object
readonly
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.honeycomb_client ⇒ Object (readonly)
Returns the value of attribute honeycomb_client.
7 8 9 |
# File 'lib/rack-honeycomb/railtie.rb', line 7 def honeycomb_client @honeycomb_client end |
.logger ⇒ Object (readonly)
Returns the value of attribute logger.
7 8 9 |
# File 'lib/rack-honeycomb/railtie.rb', line 7 def logger @logger end |
Class Method Details
.init(honeycomb_client:, logger: nil) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/rack-honeycomb/railtie.rb', line 9 def init(honeycomb_client:, logger: nil) @honeycomb_client = honeycomb_client @logger = logger logger.debug "#{self}: initialized with #{honeycomb_client.class}" if logger end |