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.



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

def type
  @type
end

Instance Method Details

#send(_email) ⇒ Object



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

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