Sha256: 2af9970b2c09266c9b2e6fa3a36c962380380bb99d3c55266c57baf91ab1cd52
Contents?: true
Size: 469 Bytes
Versions: 3
Compression:
Stored size: 469 Bytes
Contents
require 'airbrake' module Salemove module ProcessHandler class NotifierFactory def self.get_notifier(env, conf) if conf && conf[:type] == 'airbrake' Airbrake.configure do |airbrake| airbrake.async = true airbrake.environment_name = env airbrake.host = conf.fetch(:host) airbrake.api_key = conf.fetch(:api_key) end Airbrake end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems