lib/drill/params.rb in drill-mailer-0.1.1 vs lib/drill/params.rb in drill-mailer-0.3.0

- old
+ new

@@ -1,9 +1,16 @@ # frozen_string_literal: true module Drill Params = Struct.new( - :from_name, :from_email, :reply_to, :cc, :to, :vars, :template_name, + :from_name, + :from_email, + :reply_to, + :cc, + :to, + :vars, + :template_name, + :skip_delivery, keyword_init: true ) do def merge_vars(other_vars) self.vars = Hash(vars).merge(other_vars) end