Sha256: 3f455ef1c512595a260e1e35a410d77d2d2d02a85abea0dc67537c775057afe4
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mailstro-0.0.4 | lib/mailstro.rb |