Project

docebo

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Docebo is an online LMS.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.0.0

Runtime

~> 1.7.3
 Project Readme

Docebo - Ruby wrapper for Decobo LMS API

Installation

gem install docebo

or add it to Gemfile

gem 'docebo', '~> 0.0.4'

Usage

api = Docebo::API.new(
  key: 'key', 
  secret: 'secret',
  url: 'your_saas_platform/api'
)

results = api.make_request(
  'user', 
  'authenticate',
  username: 'hello', 
  password: 'hell'
)

# Course
Docebo::Course.all

# User
Docebo::User.authenticate('john', 'Pa$$W0rd')
Docebo::User.check_username('john')
Docebo::User.sso_url('john')

# OrgChart
Docebo::Orgchart.create_node(attributes)

TODO

Create User, Courses, etc. API classes.

Contributions

  1. Fork this repository.
  2. Create your own feature and spec.
  3. Create a pull request.

To run test

rspec