clubhouse-lib
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -71,5 +71,5 @@ 'use strict'; | ||
key: 'getResource', | ||
value: function getResource(uri) { | ||
value: function getResource(uri, params) { | ||
var URL = this.generateUrl(uri); | ||
var request = this.requestFactory.createRequest(URL); | ||
var request = params ? this.requestFactory.createRequest(URL, 'GET', params) : this.requestFactory.createRequest(URL); | ||
return this.requestPerformer.performRequest(request).then(this.responseParser.parseResponse); | ||
@@ -76,0 +76,0 @@ } |
{ | ||
"name": "clubhouse-lib", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A Promise based library to the Clubhouse REST API", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
31814