Sha256: e313763f571eae3d90cd2de09a2f27c67b3d45f358870a205c4519f81dec3a16

Contents?: true

Size: 702 Bytes

Versions: 15

Compression:

Stored size: 702 Bytes

Contents

module Mack
  module Notifier
    module Adapters # :nodoc:
      # All mail adapters need to extend this class.
      class Base
        
        # The origina Mack::Notifier object passed in.
        attr_accessor :mack_notifier
        
        def initialize(mail) # :nodoc:
          self.mack_notifier = mail
        end
        
        # The transformed (ie, converted, object)
        needs_method :transformed
        # Convert the Mack::Notifier object to the adapted object.
        needs_method :convert
        # The RAW encoded String ready for delivery via SMTP, Sendmail, etc...
        needs_method :deliverable
        
      end # Base
    end # Adapters
  end # Notifier
end # Mack

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mack-notifier-0.8.0.101 lib/mack-notifier/adapters/base.rb
mack-notifier-0.6.1.2 lib/mack-notifier/adapters/base.rb
mack-notifier-0.7.0 lib/mack-notifier/adapters/base.rb
mack-notifier-0.7.0.1 lib/mack-notifier/adapters/base.rb
mack-notifier-0.7.1 lib/mack-notifier/adapters/base.rb
mack-notifier-0.7.1.1 lib/mack-notifier/adapters/base.rb
mack-notifier-0.8.0 lib/mack-notifier/adapters/base.rb
mack-notifier-0.8.0.1 lib/mack-notifier/adapters/base.rb
mack-notifier-0.8.0.2 lib/mack-notifier/adapters/base.rb
mack-notifier-0.8.1 lib/mack-notifier/adapters/base.rb
mack-notifier-0.6.1 lib/mack-notifier/adapters/base.rb
mack-notifier-0.6.1.1 lib/mack-notifier/adapters/base.rb
mack-notifier-0.8.3 lib/mack-notifier/adapters/base.rb
mack-notifier-0.8.3.1 lib/mack-notifier/adapters/base.rb
mack-notifier-0.8.2 lib/mack-notifier/adapters/base.rb