Class: Mack::Notifier::Adapters::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mack-notifier/adapters/base.rb

Overview

All mail adapters need to extend this class.

Direct Known Subclasses

Tmail, Xmpp

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mail) ⇒ Base

:nodoc:



10
11
12
# File 'lib/mack-notifier/adapters/base.rb', line 10

def initialize(mail) # :nodoc:
  self.mack_notifier = mail
end

Instance Attribute Details

#mack_notifierObject

The origina Mack::Notifier object passed in.



8
9
10
# File 'lib/mack-notifier/adapters/base.rb', line 8

def mack_notifier
  @mack_notifier
end