module ActionMailerX509
Public Class Methods
add_configuration(name, params = {})
click to toggle source
# File lib/action_mailer_x509.rb, line 24 def add_configuration(name, params = {}) configurations[name.to_sym] = Configuration.new(params) end
configurations()
click to toggle source
# File lib/action_mailer_x509.rb, line 20 def configurations @configurations ||= {} end
default_certs_path=(path)
click to toggle source
# File lib/action_mailer_x509.rb, line 32 def default_certs_path=(path) @@default_certs_path = Pathname.new(path) end
get_configuration(name)
click to toggle source
# File lib/action_mailer_x509.rb, line 28 def get_configuration(name) configurations[(name || ActionMailerX509.default_configuration).to_sym] end
settings() { |self| ... }
click to toggle source
# File lib/action_mailer_x509.rb, line 16 def settings yield self end