Module: Notificate::Rails::Configuration

Included in:
Notificate::Rails
Defined in:
lib/notificate-rails/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



2
3
4
# File 'lib/notificate-rails/configuration.rb', line 2

def options
  @options
end

Instance Method Details

#configure(opts = {}) ⇒ Object



4
5
6
# File 'lib/notificate-rails/configuration.rb', line 4

def configure(opts = {})
  @options = Notificate::ObjectifiedHash.new(opts)
end