Skip to content

Official Ruby Gem for the SendGrid Transactional Email API.

License

Notifications You must be signed in to change notification settings

ws/sendgrid-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors:

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("[email protected]")
    #  sg.send(m)

    ##   OR

    #  m = sendgrid::Mail.new(:to => "[email protected]", :from => "[email protected]")
    #  sg.send(m)
    #
  ##
##  

Sendgrid::Ruby

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'sendgrid-ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sendgrid-ruby

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it ( https://github.com/[my-github-username]/sendgrid-ruby/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Official Ruby Gem for the SendGrid Transactional Email API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published