Class: MailHandler::Sending::Sender

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

Overview

email sending handler class

Direct Known Subclasses

SMTPSender

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



7
8
9
# File 'lib/mailhandler/sending/base.rb', line 7

def type
  @type
end

Instance Method Details

#send(_email) ⇒ Object



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

def send()
  raise MailHandler::InterfaceError, 'Send interface not implemented.'
end