Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kindrid_client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kindrid_client

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

KindridClient

A Ruby wrapper around the Kindrid API that lets you lookup donations and donors.

Installation

Add this line to your application's Gemfile:

gem 'kindrid_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install kindrid_client

Usage

To set up the gem, add keys:

KindridClient.key = "key"
KindridClient.secret = "secret"

Now you may run the following commands:

Donations

KindridClient.donations             # optional limit and offset params (ex: {limit: 15, offset: 2})
KindridClient.donations(donor_id)   # optional limit and offset params (ex: {limit: 15, offset: 2})
KindridClient.donation(donation_id)

Donors

KindridClient.donors                # optional limit and offset params (ex: {limit: 15, offset: 2})
KindridClient.donor(donor_id)

Tags

KindridClient.tags(donor_id)
KindridClient.tags(donor_id).put({tag_key: "value"})    # add tags
KindridClient.tags(donor_id).delete("tag_key")          # remove tag

Also, to consume requests from Kindrid and validate the HMAC with your secret key, use the following:

KindridClient.consume(request)

For more information about the Kindrid API, you can view their api documentation here: http://kindrid.com/dashboard/settings/api/docs

Contributing

  1. Fork it
  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 new Pull Request

FAQs

Package last updated on 10 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc