Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pluot

Client wrapper gem for Wild Apricot API v2

Installation

Add this line to your application's Gemfile:

gem 'pluot'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pluot

Usage

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)

Contributing

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

About

Wild Apricot API client gem

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages