Sha256: f12ad7a3ddd4a53a438f2a257191d8d3a03ecd5f3b5e2a1c291f59c0a7843c07

Contents?: true

Size: 377 Bytes

Versions: 5

Compression:

Stored size: 377 Bytes

Contents

require "job_notifier/engine"
require "enumerize"
require "colorize"
require "silencer"

module JobNotifier
  extend self

  attr_writer :root_url, :silenced_log

  def root_url
    return "/" unless @root_url
    @root_url
  end

  def silenced_log
    return false unless @silenced_log
    @silenced_log
  end

  def setup
    yield self
    require "job_notifier"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
job_notifier-3.0.0 lib/job_notifier.rb
job_notifier-2.0.0 lib/job_notifier.rb
job_notifier-1.5.0 lib/job_notifier.rb
job_notifier-1.4.0 lib/job_notifier.rb
job_notifier-1.3.0 lib/job_notifier.rb