Ruby toolkit for working with the Betterplace API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
yard/default
.gitignore
.rspec
.travis.yml
.yardopts
Gemfile
LICENSE.txt
README.md
Rakefile
bettery.gemspec

README.md

Bettery

Gem Version Build Status Coverage Status Dependency Status

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

  1. Fork it ( https://github.com/sinetris/bettery/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