Skip to content

Elqanoteam/circuit-rest-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Wrapper for the Unify Circuit Rest API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages