module Honeybadger::Backend
@api private
Public Class Methods
for(backend)
click to toggle source
# File lib/honeybadger/backend.rb, line 23 def self.for(backend) mapping[backend] or raise(BackendError, "Unable to locate backend: #{backend}") end
mapping()
click to toggle source
# File lib/honeybadger/backend.rb, line 14 def self.mapping @@mapping ||= { server: Server, test: Test, null: Null, debug: Debug }.freeze end