Sha256: 30e055801e58e84342c44c1c40bea3a718f602d81620915738586364a5073174

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

Stored size: 329 Bytes

Contents

module LetterOpener
  class Configuration
    attr_accessor :location, :message_template, :file_uri_scheme

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
letter_opener-1.10.0 lib/letter_opener/configuration.rb
letter_opener-1.9.0 lib/letter_opener/configuration.rb
letter_opener-1.8.1 lib/letter_opener/configuration.rb
letter_opener-1.8.0 lib/letter_opener/configuration.rb