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