@@ -28,6 +28,7 @@ var gists = module.exports = {
2828 *
2929 * - page (Number): Optional. Page number of the results to fetch. Validation rule: ` ^[0-9]+$ `.
3030 * - per_page (Number): Optional. A custom page size up to 100. Default is 30. Validation rule: ` ^[0-9]+$ `.
31+ * - since (Date): Optional. Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
3132 **/
3233 this . getAll = function ( msg , block , callback ) {
3334 var self = this ;
@@ -49,7 +50,7 @@ var gists = module.exports = {
4950 ret = { } ;
5051 if ( ! ret . meta )
5152 ret . meta = { } ;
52- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
53+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
5354 if ( res . headers [ header ] )
5455 ret . meta [ header ] = res . headers [ header ] ;
5556 } ) ;
@@ -69,6 +70,7 @@ var gists = module.exports = {
6970 * - user (String): Required.
7071 * - page (Number): Optional. Page number of the results to fetch. Validation rule: ` ^[0-9]+$ `.
7172 * - per_page (Number): Optional. A custom page size up to 100. Default is 30. Validation rule: ` ^[0-9]+$ `.
73+ * - since (Date): Optional. Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
7274 **/
7375 this . getFromUser = function ( msg , block , callback ) {
7476 var self = this ;
@@ -90,7 +92,7 @@ var gists = module.exports = {
9092 ret = { } ;
9193 if ( ! ret . meta )
9294 ret . meta = { } ;
93- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
95+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
9496 if ( res . headers [ header ] )
9597 ret . meta [ header ] = res . headers [ header ] ;
9698 } ) ;
@@ -131,7 +133,7 @@ var gists = module.exports = {
131133 ret = { } ;
132134 if ( ! ret . meta )
133135 ret . meta = { } ;
134- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
136+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
135137 if ( res . headers [ header ] )
136138 ret . meta [ header ] = res . headers [ header ] ;
137139 } ) ;
@@ -172,7 +174,7 @@ var gists = module.exports = {
172174 ret = { } ;
173175 if ( ! ret . meta )
174176 ret . meta = { } ;
175- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
177+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
176178 if ( res . headers [ header ] )
177179 ret . meta [ header ] = res . headers [ header ] ;
178180 } ) ;
@@ -189,7 +191,7 @@ var gists = module.exports = {
189191 *
190192 * ##### Params on the `msg` object:
191193 *
192- * No params, simply pass an empty Object literal `{}`
194+ * - since (Date): Optional. Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
193195 **/
194196 this . public = function ( msg , block , callback ) {
195197 var self = this ;
@@ -211,7 +213,7 @@ var gists = module.exports = {
211213 ret = { } ;
212214 if ( ! ret . meta )
213215 ret . meta = { } ;
214- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
216+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
215217 if ( res . headers [ header ] )
216218 ret . meta [ header ] = res . headers [ header ] ;
217219 } ) ;
@@ -228,7 +230,7 @@ var gists = module.exports = {
228230 *
229231 * ##### Params on the `msg` object:
230232 *
231- * No params, simply pass an empty Object literal `{}`
233+ * - since (Date): Optional. Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
232234 **/
233235 this . starred = function ( msg , block , callback ) {
234236 var self = this ;
@@ -250,7 +252,7 @@ var gists = module.exports = {
250252 ret = { } ;
251253 if ( ! ret . meta )
252254 ret . meta = { } ;
253- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
255+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
254256 if ( res . headers [ header ] )
255257 ret . meta [ header ] = res . headers [ header ] ;
256258 } ) ;
@@ -289,7 +291,7 @@ var gists = module.exports = {
289291 ret = { } ;
290292 if ( ! ret . meta )
291293 ret . meta = { } ;
292- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
294+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
293295 if ( res . headers [ header ] )
294296 ret . meta [ header ] = res . headers [ header ] ;
295297 } ) ;
@@ -328,7 +330,7 @@ var gists = module.exports = {
328330 ret = { } ;
329331 if ( ! ret . meta )
330332 ret . meta = { } ;
331- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
333+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
332334 if ( res . headers [ header ] )
333335 ret . meta [ header ] = res . headers [ header ] ;
334336 } ) ;
@@ -367,7 +369,7 @@ var gists = module.exports = {
367369 ret = { } ;
368370 if ( ! ret . meta )
369371 ret . meta = { } ;
370- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
372+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
371373 if ( res . headers [ header ] )
372374 ret . meta [ header ] = res . headers [ header ] ;
373375 } ) ;
@@ -406,7 +408,7 @@ var gists = module.exports = {
406408 ret = { } ;
407409 if ( ! ret . meta )
408410 ret . meta = { } ;
409- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
411+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
410412 if ( res . headers [ header ] )
411413 ret . meta [ header ] = res . headers [ header ] ;
412414 } ) ;
@@ -445,7 +447,7 @@ var gists = module.exports = {
445447 ret = { } ;
446448 if ( ! ret . meta )
447449 ret . meta = { } ;
448- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
450+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
449451 if ( res . headers [ header ] )
450452 ret . meta [ header ] = res . headers [ header ] ;
451453 } ) ;
@@ -484,7 +486,7 @@ var gists = module.exports = {
484486 ret = { } ;
485487 if ( ! ret . meta )
486488 ret . meta = { } ;
487- [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" ] . forEach ( function ( header ) {
489+ [ "x-ratelimit-limit" , "x-ratelimit-remaining" , "x-oauth-scopes" , "link" , "location" ] . forEach ( function ( header ) {
488490 if ( res . headers [ header ] )
489491 ret . meta [ header ] = res . headers [ header ] ;
490492 } ) ;
0 commit comments