0.0
No release in over 3 years
Low commit activity in last 3 years
Wrapper of the Circuit Rest API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 11.1.3
~> 3.1
~> 2.1.0
~> 3.10.0
 Project Readme

Circuit REST API Ruby client

Wrapper for the Unify Circuit Rest API

Circuit Documentation

See

Requirements

Ruby 2.0+.

Bundler

source 'https://rubygems.org'

gem 'circuit-api'

Configuration

The library needs to be configured with your account's secret key value:

require 'circuit_api'

CircuitApi::Client.new(
    client_id: 'client id',
    client_secret: 'client secret',
    sandbox: false,
    instance_url: 'https://eu.yourcircuit.com/'
)

client.connect('oauth token')

Usage

Query for the list of webhooks:

webhooks = client.webhooks.all
webhooks.first.id

Development

Run all tests:

bundle exec rspec