Sha256: 65919c3b1f1b7bcaca7b9ca6d06455117f7ebcf80f6be66097f622f8fbc47189

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 Bytes

Contents

# encoding: utf-8

module FastMailer
  class Configuration
    
    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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fast-mailer-0.2.0 lib/fast-mailer/configuration.rb
fast-mailer-0.1.0 lib/fast-mailer/configuration.rb