Comparing version 0.9.0 to 0.9.1
10
index.js
@@ -438,3 +438,3 @@ /*globals require,module */ | ||
return createPromise(this.dropkit.createOption({ method: 'GET' , path: '/v2/droplet_upgrades'})); | ||
return createPromise(this.createOption({ method: 'GET' , path: '/v2/droplet_upgrades'})); | ||
@@ -448,4 +448,4 @@ }; | ||
*/ | ||
DropKit.prototype.keys = function(keyIdOrFingerPrint) { | ||
var path = '/v2/account/keys' + ( keyIdOrFingerPrint ? keyIdOrFingerPrint : '/' + keyIdOrFingerPrint); | ||
account.prototype.keys = function(keyIdOrFingerPrint) { | ||
var path = '/v2/account/keys' + ( keyIdOrFingerPrint ? ('/' + keyIdOrFingerPrint) : ''); | ||
return createPromise(this.dropkit.createOption({ method: 'GET' , path: path})); | ||
@@ -460,3 +460,3 @@ | ||
DropKit.prototype.regions = function() { | ||
return createPromise(this.dropkit.createOption({ method: 'GET' , path: "/v2/regions"})); | ||
return createPromise(this.createOption({ method: 'GET' , path: "/v2/regions"})); | ||
}; | ||
@@ -470,3 +470,3 @@ | ||
DropKit.prototype.sizes = function() { | ||
return createPromise(this.dropkit.createOption({ method: 'GET' , path: "/v2/sizes"})); | ||
return createPromise(this.createOption({ method: 'GET' , path: "/v2/sizes"})); | ||
}; | ||
@@ -473,0 +473,0 @@ |
{ | ||
"name": "dropkit", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "A DigitalOcean Node.js module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -57,3 +57,2 @@ dropkit | ||
``` | ||
## Domain Records | ||
@@ -115,2 +114,6 @@ ```javascript | ||
1. npm install | ||
2. npm test | ||
2. npm test | ||
# TODO | ||
1. Write more tests! |
@@ -13,3 +13,3 @@ /*globals require,module */ | ||
return util._extend(baseOption, requestOption); | ||
} | ||
}; | ||
}, | ||
@@ -16,0 +16,0 @@ |
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
118
16625