Class: Keymail::Configuration
- Inherits:
-
Object
- Object
- Keymail::Configuration
- Defined in:
- lib/keymail/engine.rb
Instance Attribute Summary collapse
-
#expiration_time ⇒ Object
Returns the value of attribute expiration_time.
-
#from_email ⇒ Object
Returns the value of attribute from_email.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_time ⇒ Object
Returns the value of attribute expiration_time.
21 22 23 |
# File 'lib/keymail/engine.rb', line 21 def expiration_time @expiration_time end |
#from_email ⇒ Object
Returns the value of attribute from_email.
21 22 23 |
# File 'lib/keymail/engine.rb', line 21 def from_email @from_email end |