Skip to content

fcpeuro/coresense_rest

Repository files navigation

coresense_rest

This is a fun little gem that tries to provide a simple object oriented access to the coresense api.

Implementation Caveat: This libarary does not offer support for multiple concurrent connections to different coresense servers, expecting only 1 base endpoint to be defined.

Installation

Add this line to your application's Gemfile:

gem 'coresense_rest', github: 'fcpeuro/coresense_rest'

##Examples:

Configure the Coresense Connection

CoresenseRest.configure do |config|
    config.host = '<CORESENSE URL>'
    config.user_id = '<USER ID>'
    config.key = '<KEY>'
end

Resources

Coresense API

Affiliates

Find an Affiliate
CoresenseRest::Client.find(1)
Search Affiliates
CoresenseRest::Client.select
CoresenseRest::Client.where({'id' => 1}).select
CoresenseRest::Client.where('id= 1 ').select

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages