Sha256: 2751bb31cf9f34647249ee3d249bcf9ae6f8c41ea3db357bd73f22f50c5e5755

Contents?: true

Size: 193 Bytes

Versions: 4

Compression:

Stored size: 193 Bytes

Contents

module Blinkist
  class Config
    class ProductionOnlyErrorHandler < ErrorHandler
      def call(key, scope)
        super(key, scope) if @env.to_s == "production"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blinkist-config-1.3.1 lib/blinkist/config/error_handlers/production_only_error_handler.rb
blinkist-config-1.2.2 lib/blinkist/config/error_handlers/production_only_error_handler.rb
blinkist-config-1.2.0 lib/blinkist/config/error_handlers/production_only_error_handler.rb
blinkist-config-1.1.0 lib/blinkist/config/error_handlers/production_only_error_handler.rb