Class: Mailpeek::Configuration
- Inherits:
-
Object
- Object
- Mailpeek::Configuration
- Defined in:
- lib/mailpeek/configuration.rb
Overview
Public: Stores config info for Mailpeek
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#location ⇒ Object
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/mailpeek/configuration.rb', line 8 def initialize @location = Dir.mktmpdir('mailpeek') @limit = 50 end |
Instance Attribute Details
#limit ⇒ Object
Returns the value of attribute limit.
6 7 8 |
# File 'lib/mailpeek/configuration.rb', line 6 def limit @limit end |
#location ⇒ Object
Returns the value of attribute location.
6 7 8 |
# File 'lib/mailpeek/configuration.rb', line 6 def location @location end |