FirstGiving
FirstGiving Ruby Client Open Source.
Installation
Add this line to your application's Gemfile:
gem 'firstgiving'
Or install it yourself as:
$ gem install firstgiving
Usage
FirstGiving.configure do |config|
config.application_key = APPLICATION_KEY
config.security_token = SECURITY_TOKEN
config.options = OPTIONS
end
Lookup API
FG.lookup.list(params)
FG.lookup.detail(params)
Donation API
FG.donation.creditcard(params)
FG.donation.verify(params)
FG.donation.recurring_creditcard_profile(params)
Search API
FG.search.query(params)
Test
rake spec
Contributing
- Fork it
- 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 new Pull Request