Sha256: 5a7de8e020f0afceb8584f35304caeafc7a25edc6231e87cd87024d550a00764
Contents?: true
Size: 599 Bytes
Versions: 11
Compression:
Stored size: 599 Bytes
Contents
require 'rubygems' require 'coderay' require 'exception_notification_server/engine' module ExceptionNotificationServer def self.configure(&_block) yield configuration end def self.configuration @configuration ||= ExceptionNotificationServer::Configuration.new end class Configuration attr_accessor :name, :password, :access_callback, :time_format def initialize(name: 'webhook', password: '', access_callback: nil, time_format: '%m/%d/%Y %H:%M:%S') @name, @password, @access_callback, @time_format = name, password, access_callback, time_format end end end
Version data entries
11 entries across 11 versions & 1 rubygems