Class: Rack::Metrics::Config
- Inherits:
-
Object
- Object
- Rack::Metrics::Config
- Defined in:
- lib/rack/metrics/config.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#environments ⇒ Object
Returns the value of attribute environments.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
6 7 8 |
# File 'lib/rack/metrics/config.rb', line 6 def initialize @environments = [:production] end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
4 5 6 |
# File 'lib/rack/metrics/config.rb', line 4 def api_key @api_key end |
#environments ⇒ Object
Returns the value of attribute environments.
4 5 6 |
# File 'lib/rack/metrics/config.rb', line 4 def environments @environments end |