module DefraRubyEmail
Constants
- VERSION
Attributes
configuration[W]
Public Class Methods
configuration()
click to toggle source
# File lib/defra_ruby_email.rb, line 12 def configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/defra_ruby_email.rb, line 23 def self.configure yield(configuration) end
reset_configuration()
click to toggle source
Added for testing. Without we cannot test both a config object with and with set values in the same rspec session
# File lib/defra_ruby_email.rb, line 18 def reset_configuration @configuration = nil end