octonode
Advanced tools
Comparing version 0.6.12 to 0.6.13
@@ -315,3 +315,3 @@ // Generated by CoffeeScript 1.7.1 | ||
} else { | ||
return callback(null, b.rate.remaining, b.rate.limit); | ||
return callback(null, b.rate.remaining, b.rate.limit, b); | ||
} | ||
@@ -318,0 +318,0 @@ }); |
{ | ||
"name": "octonode", | ||
"version": "0.6.12", | ||
"version": "0.6.13", | ||
"author": "Pavan Kumar Sunkara <pavan.sss1991@gmail.com> (http://pksunkara.github.com)", | ||
@@ -5,0 +5,0 @@ "description": "nodejs wrapper for github v3 api", |
@@ -602,3 +602,8 @@ # octonode [![Gitter chat](https://badges.gitter.im/pksunkara/octonode.png)](https://gitter.im/pksunkara/octonode) | ||
``` | ||
#### Get the root contents on a branch called "myBranch" | ||
```js | ||
ghrepo.contents('', "myBranch", callback); | ||
``` | ||
#### Get the contents of a path in repository | ||
@@ -605,0 +610,0 @@ |
104220
1209