Class: Clearance::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/clearance/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
# File 'lib/clearance/configuration.rb', line 5

def initialize
  @mailer_sender     = '[email protected]'
  @cookie_expiration = lambda { 1.year.from_now.utc }
end

Instance Attribute Details

Returns the value of attribute cookie_expiration.



3
4
5
# File 'lib/clearance/configuration.rb', line 3

def cookie_expiration
  @cookie_expiration
end

#mailer_senderObject

Returns the value of attribute mailer_sender.



3
4
5
# File 'lib/clearance/configuration.rb', line 3

def mailer_sender
  @mailer_sender
end