module MailCannon::Adapter
Provides an Interface for implementing an Adapter
. Adapters are supposed to handle communication with the email service (ie: Sendgrid) and to be included by MailCannon::Envelope
. MailCannon::Envelope
attributes should be accessed to figure out what to send to the email service.
Public Class Methods
included(receiver)
click to toggle source
# File lib/mailcannon/adapter.rb, line 17 def self.included(receiver) receiver.send :include, InstanceMethods end