Module: Notifications

Defined in:
lib/notifications.rb,
lib/notifications/engine.rb,
lib/notifications/helper.rb,
lib/notifications/railtie.rb,
lib/notifications/version.rb,
lib/notifications/uploader.rb

Defined Under Namespace

Modules: Helper Classes: Configuration, Engine, Railtie, Uploader

Constant Summary collapse

VERSION =
'1.0.2'

Class Method Summary collapse

Class Method Details

.configurationObject



12
13
14
# File 'lib/notifications.rb', line 12

def self.configuration
  @configuration
end

.configure {|@configuration| ... } ⇒ Object

Yields:



6
7
8
9
10
# File 'lib/notifications.rb', line 6

def self.configure
  @configuration ||= Configuration.new

  yield @configuration if block_given?
end