Class: MailHandler::Sending::Sender

Inherits:
Object
  • Object
show all
Defined in:
lib/mailhandler/sending/base.rb

Direct Known Subclasses

SMTPSender

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



9
10
11
# File 'lib/mailhandler/sending/base.rb', line 9

def type
  @type
end

Instance Method Details

#send(email) ⇒ Object



11
12
13
14
15
# File 'lib/mailhandler/sending/base.rb', line 11

def send(email)

  raise MailHandler::InterfaceError, 'Send interface not implemented.'

end