Official Ruby Gem for the SendGrid Transactional Email API.
Using RSpec for Testing, and Guard for test automation.
Clone repo, Install any deps, then run:
guard
From the base directory to watch for file changes / automate tests.
Also using Faraday to construct the email and post.
##
## THIS IS HOW I WANNA USE IT.
# sg = sendgrid::Client.new("Myuser", "Mykey")
# m = sendgrid::Mail.new()
# m.to("robin@sendgrid.com")
# sg.send(m)
## OR
# m = sendgrid::Mail.new(:to => "me@rbin.co", :from => "email@mcgee.me")
# sg.send(m)
#
##
##
TODO: Write a gem description
Add this line to your application’s Gemfile:
gem 'sendgrid-ruby'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sendgrid-ruby
TODO: Write usage instructions here
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)