Sha256: 00c9cd672f43a2782d0a6fd678a218ac3213d4cafa65dd995281bb0b2e07514f
Contents?: true
Size: 600 Bytes
Versions: 12
Compression:
Stored size: 600 Bytes
Contents
module MnoEnterprise module MailAdapters # Test Adapter for MnoEnterprise::MailClient # Add messages to an internal array instead of sending them class TestAdapter < Adapter class << self # Send a template # @see Adapter#deliver def deliver(*args) send_template(*args) end # Send the provided template with options # SparkpostClient.send_template(template_name(string), template_content(array), message(hash)) def send_template(*args) base_deliveries.push(*args) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems