Sha256: 595ede92defa87b497137f32811177a036c4f09027f5e9efe196152897b2c045

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

module LetterOpener
  class Configuration
    attr_accessor :location, :message_template

    def initialize
      @location = Rails.root.join('tmp', 'letter_opener') if defined?(Rails)
      @message_template = 'default'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
letter_opener-1.6.0 lib/letter_opener/configuration.rb
letter_opener-1.5.0 lib/letter_opener/configuration.rb