Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

authentication

var sb = require('sb');

auth

sb.connect('company', 'token').then(function(wrapper){
  
});

get tickets

GET /tickets

var tickets = wrapper.tickets();

post ticket

POST /tickets

var ticket = {
};

var r = wrapper.insertTicket(ticket);
@unamashana

This comment has been minimized.

Copy link

commented Oct 23, 2015

This is neat :) I just read it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.