digitalocean-api
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -349,2 +349,14 @@ var extend = require('xtend'); | ||
}); | ||
}; | ||
}; | ||
/** | ||
* Show event | ||
* This method returns details of a event | ||
* @param {[type]} id [description] | ||
* @param {Function} callback [description] | ||
*/ | ||
Digitalocean.prototype.eventGet = function(id,callback){ | ||
this.get('events/' + id ,{},function(error,body){ | ||
callback(error,body.event); | ||
}); | ||
} |
{ | ||
"name": "digitalocean-api", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": "Matej Simek <email@matejsimek.cz>", | ||
@@ -5,0 +5,0 @@ "description": "DigitalOcean API wrapper", |
@@ -87,2 +87,7 @@ # digitalocean-api | ||
regionGetAll(callback) | ||
``` | ||
``` | ||
### Events | ||
```js | ||
eventGet(id, callback) | ||
``` |
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
16366
380
93