Sha256: 676b29e7e6bc2fcf7ecd38b1e832978d54c600c3dcbf65dbfdf3c74756a18ccf

Contents?: true

Size: 280 Bytes

Versions: 6

Compression:

Stored size: 280 Bytes

Contents

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

module JobNotifier
  extend self

  attr_writer :root_url

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

  def setup
    yield self
    require "job_notifier"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
job_notifier-1.2.4 lib/job_notifier.rb
job_notifier-1.2.3 lib/job_notifier.rb
job_notifier-1.2.2 lib/job_notifier.rb
job_notifier-1.2.1 lib/job_notifier.rb
job_notifier-1.2.0 lib/job_notifier.rb
job_notifier-1.1.1 lib/job_notifier.rb