https://github.com/bcgraham/griddler-sendigma
Sendgrid adapter for Thoughtbot's Griddler.
https://github.com/bcgraham/griddler-sendigma
Last synced: 8 months ago
JSON representation
Sendgrid adapter for Thoughtbot's Griddler.
- Host: GitHub
- URL: https://github.com/bcgraham/griddler-sendigma
- Owner: bcgraham
- License: mit
- Created: 2015-11-30T13:35:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-30T13:38:02.000Z (over 10 years ago)
- Last Synced: 2023-08-14T04:42:41.319Z (almost 3 years ago)
- Language: Ruby
- Size: 131 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Sendigma
Sendgrid adapter for [Griddler](https://github.com/thoughtbot/griddler)[.](https://youtu.be/cWrnjDXx5x4?start=60)
In what is passed to Griddler, Sendigma includes an extra field called `extras`, which contains the Parse fields not used by Griddler:
:dkim
:sender_ip
:envelope
:charsets
:SPF
:spam_score
:spam_report
Hopefully, [Brad Pauly](https://github.com/bradpauly/griddler/tree/add-extras-param)'s [pull request](https://github.com/thoughtbot/griddler/pull/233) gets merged, and this can use the mainline release of Griddler.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'griddler', github: 'bradpauly/griddler', branch: 'add-extras-param'
gem 'sendigma', git: 'https://github.com/briancgraham/griddler-sendigma'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install griddler-sendigma
## Usage
Set the adapter to `:sendigma`:
```ruby
Griddler.configure do |config|
config.email_service = :sendigma
end
```
## License
Borrowed much from [Griddler-Sendgrid](https://github.com/thoughtbot/griddler-sendgrid)
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).