Module: DefraRubyEmail
- Defined in:
- lib/defra_ruby_email.rb,
lib/defra_ruby_email/engine.rb,
lib/defra_ruby_email/version.rb,
lib/defra_ruby_email/configuration.rb,
lib/defra_ruby_email/last_email_cache.rb,
app/mailers/defra_ruby_email/test_mailer.rb,
lib/defra_ruby_email/last_email_observer.rb,
app/controllers/defra_ruby_email/last_email_controller.rb,
app/controllers/defra_ruby_email/application_controller.rb
Defined Under Namespace
Classes: ApplicationController, Configuration, Engine, LastEmailCache, LastEmailController, LastEmailObserver, TestMailer
Constant Summary collapse
- VERSION =
"0.2.0"
Class Attribute Summary collapse
Class Method Summary collapse
- .configure {|configuration| ... } ⇒ Object
-
.reset_configuration ⇒ Object
Added for testing.
Class Attribute Details
.configuration ⇒ Object
12 13 14 |
# File 'lib/defra_ruby_email.rb', line 12 def configuration @configuration ||= Configuration.new end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
23 24 25 |
# File 'lib/defra_ruby_email.rb', line 23 def self.configure yield(configuration) end |
.reset_configuration ⇒ Object
Added for testing. Without we cannot test both a config object with and with set values in the same rspec session
18 19 20 |
# File 'lib/defra_ruby_email.rb', line 18 def reset_configuration @configuration = nil end |