Sha256: be49921be4d7dcc3ba45431a59876d330d75e4f7498ad11ca88aaef5ddb971e0

Contents?: true

Size: 582 Bytes

Versions: 7

Compression:

Stored size: 582 Bytes

Contents

# frozen_string_literal: true

if Rails.env.production? && defined?(SparkPostRails)
  SparkPostRails.configure do |c|
    c.api_key = ENV['SPARKPOST_API_KEY']
    c.sandbox = false                               # default: false
    c.track_opens = true                            # default: false
    c.track_clicks = true                           # default: false
    c.transactional = true                          # default: false
    c.inline_css = true                             # default: false
    c.html_content_only = true                      # default: false
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kowl-0.0.7 lib/kowl/templates/config/initializers/sparkpost.rb
kowl-0.0.6 lib/kowl/templates/config/initializers/sparkpost.rb
kowl-0.0.5 lib/kowl/templates/config/initializers/sparkpost.rb
kowl-0.0.4 lib/kowl/templates/config/initializers/sparkpost.rb
kowl-0.0.3 lib/kowl/templates/config/initializers/sparkpost.rb
kowl-0.0.2 lib/kowl/templates/config/initializers/sparkpost.rb
kowl-0.0.1 lib/kowl/templates/config/initializers/sparkpost.rb