Module: DeviseSlackNotifiable

Defined in:
lib/devise_slack_notifiable.rb,
lib/devise_slack_notifiable/version.rb,
lib/devise_slack_notifiable/notifier.rb,
lib/devise_slack_notifiable/configuration.rb,
lib/devise_slack_notifiable/errors/configuration.rb

Defined Under Namespace

Modules: Errors Classes: Configuration, Notifier

Constant Summary collapse

VERSION =
'0.2.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



11
12
13
# File 'lib/devise_slack_notifiable.rb', line 11

def configuration
  @configuration
end

Class Method Details

.configure { ... } ⇒ Object

Configuration block

Yields:



17
18
19
20
# File 'lib/devise_slack_notifiable.rb', line 17

def self.configure
  self.configuration ||= DeviseSlackNotifiable::Configuration.new
  yield(configuration)
end