Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

qcam/docebo_ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Docebo API Ruby wrapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages