Sha256: 4f6879f5f1d8f4521f84896026f04f2912e4f374c2cec5c071c6d3e432fd809c

Contents?: true

Size: 453 Bytes

Versions: 1

Compression:

Stored size: 453 Bytes

Contents

require 'goatmail/delivery_method'
require 'goatmail/app'

module Goatmail
  class << self
    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

    def location=(path)
      @location = path
    end
  end
end

require "goatmail/railtie" if defined? Rails::Railtie

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
goatmail-1.2.0 lib/goatmail.rb