Class: Mailpeek::Configuration

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

Overview

Public: Stores config info for Mailpeek

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#limitObject

Returns the value of attribute limit.



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

def limit
  @limit
end

#locationObject

Returns the value of attribute location.



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

def location
  @location
end