Sha256: 0ef172ecec2026abcf4df6971f02377cb110658fe1d1a27bfceb99785c1155b9

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 Bytes

Contents

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

module Goatmail

  class << self
    def 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

3 entries across 3 versions & 1 rubygems

Version Path
goatmail-1.1.1 lib/goatmail.rb
goatmail-1.1.0 lib/goatmail.rb
goatmail-1.0.0 lib/goatmail.rb