Sha256: 0f46910cd8928f9fc50fc598ef26644a3e7e5da25dbc9e4216e9a6a8b728cb02
Contents?: true
Size: 452 Bytes
Versions: 4
Compression:
Stored size: 452 Bytes
Contents
require "active_support/core_ext/hash" # frozen_string_literal: true class Twelvefactor::Environment::Mailer::Sendmail def self.apply app, mailer_url config = app.config config.action_mailer.delivery_method = :sendmail config.action_mailer.sendmail_settings = sendmail_settings mailer_url end def self.sendmail_settings url { location: url.path, arguments: url.query && URI.decode(url.query) }.compact end end
Version data entries
4 entries across 4 versions & 1 rubygems