Sha256: 08e7a63f55730ba89b452a42d751f5e53ddaaf7073adb61c64d10b2502c02814
Contents?: true
Size: 582 Bytes
Versions: 79
Compression:
Stored size: 582 Bytes
Contents
require 'forwardable' require 'honeybadger/backend/base' require 'honeybadger/backend/server' require 'honeybadger/backend/test' require 'honeybadger/backend/null' require 'honeybadger/backend/debug' module Honeybadger # @api private module Backend class BackendError < StandardError; end def self.mapping @@mapping ||= { server: Server, test: Test, null: Null, debug: Debug }.freeze end def self.for(backend) mapping[backend] or raise(BackendError, "Unable to locate backend: #{backend}") end end end
Version data entries
79 entries across 79 versions & 1 rubygems