heroku-client
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -9,2 +9,6 @@ var Request = require('./request'); | ||
Heroku.createClient = function createClient (options) { | ||
return new Heroku(options); | ||
} | ||
Heroku.configure = function configure (config) { | ||
@@ -11,0 +15,0 @@ if (config.cache && !process.env.HEROKU_CLIENT_ENCRYPTION_SECRET) { |
{ | ||
"name": "heroku-client", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "A wrapper for the Heroku v3 API", | ||
@@ -5,0 +5,0 @@ "main": "./lib/heroku.js", |
@@ -12,2 +12,7 @@ var Heroku = require('../../lib/heroku'), | ||
it('can create a client with .createClient', function() { | ||
heroku = Heroku.createClient({ token: '12345' }) | ||
expect(heroku.constructor.name).toEqual('Heroku'); | ||
}); | ||
it('passes its method into the request', function() { | ||
@@ -14,0 +19,0 @@ heroku.apps().create({}, function() { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
177520
4760