Bettery
Ruby toolkit for working with the Betterplace API.
Installation
Add this line to your application's Gemfile:
gem 'bettery', github: 'sinetris/bettery'
And then execute:
$ bundle
Usage
projects = Bettery.projects
projects.fields => #<Set: {:total_entries, :offset, :total_pages, :current_page, :per_page, :data}>
projects.total_entries #=> 11149
projects.data.first.title #=> "Mit der DKMS im Kampf gegen Blutkrebs!"
Contributing
- Fork it ( https://github.com/sinetris/bettery/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