Module: Fakemail

Defined in:
lib/fakemail.rb

Defined Under Namespace

Classes: Mail

Constant Summary collapse

DEFAULT_PATH =
'/tmp/fakemail'

Class Method Summary collapse

Class Method Details

.output_pathObject

Get current emails output path



15
16
17
# File 'lib/fakemail.rb', line 15

def output_path
  @output_path ||= DEFAULT_PATH
end

.output_path=(path) ⇒ Object

Set a new output path for emails



9
10
11
# File 'lib/fakemail.rb', line 9

def output_path= (path)
  @output_path = path
end