Sha256: ca93d10d9fa30029514b11f2651f14df61d6846169a1542548e0200e1e1440fb

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

require 'mail'
require 'hooks'

require 'fast-mailer/configuration'
require 'fast-mailer/smtp'
require 'fast-mailer/mailer'

module FastMailer
  
  class <<self
    def test_mode=(value)
      require 'fast-mailer/mock_smtp' if value
      @@test_mode = value
    end
  
    def test_mode
      @@test_mode ||= false
    end
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

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