lib/mailstro.rb in mailstro-0.0.5 vs lib/mailstro.rb in mailstro-0.0.6

- old
+ new

@@ -16,15 +16,15 @@ self.configuration ||= Configuration.new yield(configuration) configuration.validate! end - def self.deliver(template_name, contact_email, payload = {}) - Delivery.deliver(template_name, contact_email, payload) + def self.deliver(template_name, contact_email, data = {}) + Delivery.deliver(template_name, contact_email, data) end - def self.list_deliver(template_name, list, payload = {}) - ListDelivery.deliver(template_name, list, payload) + def self.list_deliver(template_name, list, data = {}) + ListDelivery.deliver(template_name, list, data) end def self.list_subscribe(list_name, contact_email) ListSubscribe.subscribe(list_name, contact_email) end