Sha256: 5135eea4d2e1891d50d9c8b02151ec7d79bb6c8bc9aa04a3da3d64ae6e59550c

Contents?: true

Size: 208 Bytes

Versions: 3

Compression:

Stored size: 208 Bytes

Contents

module Mail
  class Message

    attr_accessor :sparkpost_payload

  end
end

module ActionMailer
  class Base

    def sparkpost_payload(payload)
      message.sparkpost_payload = payload
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sparkpost_rails5-0.1.3 lib/sparkpost_rails/custom_payload.rb
sparkpost_rails5-0.1.1 lib/sparkpost_rails/custom_payload.rb
sparkpost_rails5-0.1.0 lib/sparkpost_rails/custom_payload.rb