module Mailstro

Constants

VERSION

Attributes

configuration[RW]
strategy[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/mailstro.rb, line 28
def self.configure
  yield(@configuration) && @configuration.validate!
end
deliver(email_name, options) click to toggle source
# File lib/mailstro.rb, line 32
def self.deliver(email_name, options)
  @strategy.deliver(email_name, options)
end
has_delivered?(email_name, options={}) click to toggle source
# File lib/mailstro.rb, line 36
def self.has_delivered?(email_name, options={})
  TestStrategy.has_delivered?(email_name, options)
end