Class: Keymail::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/keymail/engine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



24
25
26
27
# File 'lib/keymail/engine.rb', line 24

def initialize
  # Set defaults here
  self.expiration_time = 10.minutes
end

Instance Attribute Details

#expiration_timeObject

Returns the value of attribute expiration_time.



21
22
23
# File 'lib/keymail/engine.rb', line 21

def expiration_time
  @expiration_time
end

#from_emailObject

Returns the value of attribute from_email.



21
22
23
# File 'lib/keymail/engine.rb', line 21

def from_email
  @from_email
end