Sha256: 36ef6f258eed90c8d8bf16164e76329cbb32559b458a0c3c5c6c945a7a679616

Contents?: true

Size: 242 Bytes

Versions: 5

Compression:

Stored size: 242 Bytes

Contents

require "job_notifier/engine"
require "enumerize"

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

5 entries across 5 versions & 1 rubygems

Version Path
job_notifier-1.0.0 lib/job_notifier.rb
job_notifier-0.2.1 lib/job_notifier.rb
job_notifier-0.2.0 lib/job_notifier.rb
job_notifier-0.1.1 lib/job_notifier.rb
job_notifier-0.1.0 lib/job_notifier.rb