Sha256: 7bbae328fa4b143b31d5ae54e5b3c7e2760e5af5d9a8733dffcec04efa500eee
Contents?: true
Size: 299 Bytes
Versions: 14
Compression:
Stored size: 299 Bytes
Contents
module Mail class Postmark attr_accessor :settings def initialize(values) self.settings = { :api_key => nil }.merge(values) end def deliver!(mail) ::Postmark.api_key = settings[:api_key] ::Postmark.send_through_postmark(mail) end end end
Version data entries
14 entries across 14 versions & 1 rubygems