Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 241 Bytes
###
Retrieve all users gist with OAuth2 access_token
###
Gisty = require('./../lib/gisty')
gist = new Gisty token: 'OAuth2 access_token', username: 'meritt'
gist.all (error, gists) ->
throw new Error error if error
console.log gists