No commit activity in last 3 years
No release in over 3 years
Omnihooks Strategy for Sendgrid Parse API Webhooks
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
>= 0

Runtime

>= 2.0.3, ~> 2.0
~> 0.0.2
 Project Readme

Omnihooks::SendgridParse

This gem implements a Sendgrid Parse Webhook strategy for OmniHooks.

The strategy will accept the HTTP POST message from Sendgrid, using the email subject as the event type.

Installation

Add this line to your application's Gemfile:

gem 'omnihooks-sendgrid-parse'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omnihooks-sendgrid-parse

Usage

Rack::Builder.new do
	use OmniHooks::Builder do
	  provider :sendgrid_parse do
	  	configure do |c|
	  	  c.subscribe 'email subject', Proc.new { |event| nil }
	  	end
	  end
	end
end

See Omnihooks Usage for additional usage options for subscribing to events.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/dropstream/omnihooks-sendgrid.