Sha256: 4e384a971db53dff78d7817aaf1e29a8e6a088bece5dbdd2bd7d87cd26607d6e

Contents?: true

Size: 554 Bytes

Versions: 3

Compression:

Stored size: 554 Bytes

Contents

# frozen_string_literal: true

require_relative "munster/version"
require_relative "munster/engine"
require_relative "munster/jobs/processing_job"
require "active_support/configurable"

module Munster
  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield configuration
  end
end

class Munster::Configuration
  include ActiveSupport::Configurable

  config_accessor(:processing_job_class) { Munster::ProcessingJob }
  config_accessor(:active_handlers) { [] }
  config_accessor(:error_context) { {} }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
munster-0.3.1 lib/munster.rb
munster-0.3.0 lib/munster.rb
munster-0.2.0 lib/munster.rb