module Goatmail

Constants

VERSION

Public Class Methods

location() click to toggle source
# File lib/goatmail.rb, line 6
def location
  @location ||= LetterOpener.configuration.location
  @location ||= Rails.root.join('tmp/goatmail')  if defined? Rails
  @location ||= Padrino.root('tmp/goatmail')     if defined? Padrino
  @location
end
location=(path) click to toggle source
# File lib/goatmail.rb, line 13
def location=(path)
  @location = path
end
version() click to toggle source
# File lib/goatmail/version.rb, line 4
def self.version
  VERSION
end