Birdseed
FatBird Ruby Client
Installation
Add this line to your application's Gemfile:
gem 'birdseed'
And then execute:
$ bundle
Or install it yourself as:
$ gem install birdseed
Usage
Birdseed.api_key = "YOUR_API_KEY"
Birdseed.deliver(
campaign_id: "some_campaign_id",
recipient: {address: "[email protected]", name: "Nic"},
data: {some: "data"}
)
See all options at https://github.com/edmodo/fatbird#send-emails-using-rest-api
Contributing
- Fork it ( https://github.com/[my-github-username]/birdseed/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request