Client wrapper gem for Wild Apricot API v2
Add this line to your application's Gemfile:
gem 'pluot'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pluot
Pluot.api_key = Rails.application.secrets.wild_apricot_key
Pluot.account_id = Rails.application.secrets.wild_apricot_account_id
Pluot.contacts.filter('Archived eq false') # => { :Contacts => [{}, ...] }
####Endpoints (WIP)
-
Contacts
- #all
- #count
- #find(contact_id)
- #filter(conditions) - filter syntax
-
Payments
- #find(payment_id)
- #made_by(contact_id)
- Fork it ( https://github.com/rapheld/pluot/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