module LetterOpenerWeb
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/letter_opener_web.rb, line 12 def self.config @config ||= Config.new.tap do |conf| conf.letters_location = Rails.root.join('tmp', 'letter_opener') end end
configure() { |config| ... }
click to toggle source
# File lib/letter_opener_web.rb, line 18 def self.configure yield config if block_given? end
reset!()
click to toggle source
# File lib/letter_opener_web.rb, line 22 def self.reset! @config = nil end