Module: LetterOpener
- Defined in:
- lib/letter_opener.rb,
lib/letter_opener/message.rb,
lib/letter_opener/railtie.rb,
lib/letter_opener/configuration.rb,
lib/letter_opener/delivery_method.rb
Defined Under Namespace
Classes: Configuration, DeliveryMethod, Message, Railtie
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
6
7
8
|
# File 'lib/letter_opener.rb', line 6
def self.configuration
@configuration ||= Configuration.new
end
|
10
11
12
|
# File 'lib/letter_opener.rb', line 10
def self.configure
yield(configuration)
end
|