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

pipelinedeals-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pipelinedeals-client

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Pipelinedeals::Client

This gem is designed to communicate with the Pipeline Deals API through instantiation of the main class PipelineDeals::Client. To instantiate you need the API key from a Pipeline Deals account.

This Gem supports the following Pipeline Deals API methods:

  • People
  • Users

Person_custom_fields(get)

All methods in this gem use JSON formatting. To read on the Pipeline API please visit (https://www.pipelinedeals.com/api/docs/introduction)

Installation

Add this line to your application's Gemfile:

gem 'pipelinedeals-client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pipelinedeals-client

Usage

To begin:

pipeline = PipelineDeals::Client.new(api_key)

To check if a successful connection can be made to the API:

pipeline.ping

This will return true or false.

The get methods support pagination and the default page size is 200. To get the people on the first page (first 200):

response = pipeline.people

The response includes metadata for pagination.

response["per_page"]

You can also get people on a particular page:

pipeline.people(2)

This will get all the users on the second page.

To create a person on Pipeline Deals:

pipeline.create_person(person)

The person parameter has to be formatted according to (https://www.pipelinedeals.com/api/docs/examples).

Contributing

  1. Fork it ( https://github.com/[my-github-username]/pipelinedeals-client/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

FAQs

Package last updated on 30 Dec 2015

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