Sha256: 7886600d8b3007bbab643a65abbbb752007591fe1880e552d010e9004cc5f744
Contents?: true
Size: 266 Bytes
Versions: 2
Compression:
Stored size: 266 Bytes
Contents
# frozen_string_literal: true module Drill Params = Struct.new( :from_name, :from_email, :reply_to, :cc, :to, :vars, :template_name, keyword_init: true ) do def merge_vars(other_vars) self.vars = Hash(vars).merge(other_vars) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
drill-mailer-0.1.1 | lib/drill/params.rb |
drill-mailer-0.1.0 | lib/drill/params.rb |