require "mailstro/version" require "mailstro/configuration" require "mailstro/delivery" require "mailstro/response" module Mailstro class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield(configuration) configuration.validate! end def self.deliver(template, recipient, payload = {}) Delivery.deliver(template, recipient, payload) end end