Sha256: 2f5151b2a2977ef9a25c38fcc2f987742264b4ac147fe11f487fa827509719c6

Contents?: true

Size: 409 Bytes

Versions: 4

Compression:

Stored size: 409 Bytes

Contents

require 'letter_opener'
require_relative 'delivery_method'
require 'letter_opener/web/app'
module LetterOpener

  class << self
    def location
      @location ||= Rails.root.join('tmp/letter_opener')  if defined? Rails
      @location ||= Padrino.root('tmp/letter_opener')     if defined? Padrino
      @location
    end

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

  module Web
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
letter_opener-web-0.2.0 lib/letter_opener/web.rb
letter_opener-web-0.1.2 lib/letter_opener/web.rb
letter_opener-web-0.1.1 lib/letter_opener/web.rb
letter_opener-web-0.1.0 lib/letter_opener/web.rb