Sha256: e87f26919f374dd129841c41f186337c91b8c8a4ca44fabaad8394234531d548
Contents?: true
Size: 545 Bytes
Versions: 1
Compression:
Stored size: 545 Bytes
Contents
# encoding: utf-8 module FastMailer class Configuration TEST_CONFIGURATION = { :something => :useful } def self.enable_testing! def self.smtp_configuration(options = nil) TEST_CONFIGURATION end end def self.disable_testing! def self.smtp_configuration(options = nil) if options.is_a? Hash options else eval(File.read(options || File.expand_path("~/.config/smtp.rb"))) end end end disable_testing! end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fast-mailer-0.0.1 | lib/fast-mailer/configuration.rb |