Skip to content

fcpeuro/coresense_rest

Folders and files

NameName
Last commit message
Last commit date
Mar 30, 2023
Mar 30, 2023
Oct 23, 2020
Oct 1, 2021
Oct 17, 2019
Oct 1, 2021
Dec 31, 2018
Oct 1, 2021
Oct 29, 2021
Aug 29, 2019

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