lib/mailcannon/adapter.rb in mailcannon-0.0.5 vs lib/mailcannon/adapter.rb in mailcannon-0.0.6

- old
+ new

@@ -1,6 +1,8 @@ # 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. module MailCannon::Adapter + class AuthException < RuntimeError; end + module InstanceMethods # Sends an Envelope with 1 recipient. def send! raise 'Not available for this adapter!' end \ No newline at end of file