Sha256: a5d64ae70e9b99d05ba012783562546ca4b3a28f0900bcdeb28e342cd68d95c5

Contents?: true

Size: 391 Bytes

Versions: 82

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

if defined?(Dkim) && ENV['DKIM_PATH'] && File.exists?(ENV['DKIM_PATH'])
  Dkim::domain      = ENV.fetch('DKIM_DOMAIN') { BetterRecord.app_domain_name }
  Dkim::selector    = `hostname`.strip.to_sym
  Dkim::private_key = File.read(ENV['DKIM_PATH'])
  # This will sign all ActionMailer deliveries
  ActionMailer::Base.register_interceptor(Dkim::Interceptor)
end

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
better_record-0.21.2 config/initializers/dkim.rb
better_record-0.20.2 config/initializers/dkim.rb
better_record-0.19.10 config/initializers/dkim.rb
better_record-0.19.9 config/initializers/dkim.rb
better_record-0.19.8 config/initializers/dkim.rb
better_record-0.19.7 config/initializers/dkim.rb
better_record-0.19.6 config/initializers/dkim.rb
better_record-0.19.4 config/initializers/dkim.rb
better_record-0.19.2 config/initializers/dkim.rb
better_record-0.19.1 config/initializers/dkim.rb
better_record-0.19.0 config/initializers/dkim.rb
better_record-0.18.3 config/initializers/dkim.rb
better_record-0.18.2 config/initializers/dkim.rb
better_record-0.18.1 config/initializers/dkim.rb
better_record-0.18.0 config/initializers/dkim.rb
better_record-0.17.9 config/initializers/dkim.rb
better_record-0.17.8 config/initializers/dkim.rb
better_record-0.17.4 config/initializers/dkim.rb
better_record-0.17.3 config/initializers/dkim.rb
better_record-0.17.1 config/initializers/dkim.rb