Skip to content

dangerp/desk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple ruby interface to Desk.com

Installation

gem install desk_api_v2

Usage

Oauth (recommended):

client = Desk::Client.new(site: "my-site-name", consumer_key: "consumer-key", consumer_secret: "consumer-secret", token: "token", token_secret: "token_secret")

Basic Auth:

client = Desk::Client.new(site: "my-site-name", email: "email@example.com", password: "mypassword")

Example usage:

client.cases.all
client.cases.show(1234)
client.cases.create(data)
client.cases.update(1234, data)
client.article.all

To do

Add more endpoints
Pagination

About

A ruby client for the desk.com API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages