Class: Blinkist::Config::ProductionOnlyErrorHandler
- Inherits:
-
ErrorHandler
- Object
- ErrorHandler
- Blinkist::Config::ProductionOnlyErrorHandler
- Defined in:
- lib/blinkist/config/error_handlers/production_only_error_handler.rb
Instance Method Summary collapse
Methods inherited from ErrorHandler
Constructor Details
This class inherits a constructor from Blinkist::Config::ErrorHandler
Instance Method Details
#call(key, scope) ⇒ Object
4 5 6 |
# File 'lib/blinkist/config/error_handlers/production_only_error_handler.rb', line 4 def call(key, scope) super(key, scope) if @env.to_s == "production" end |