Permalink
Browse files

Added plans update API

  • Loading branch information...
pksunkara authored and abh committed Aug 3, 2012
1 parent 0072fa6 commit 4717a0bb5dd84c6a01be2bdbe8cf361166a5fc0f
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/main.js
View
@@ -160,6 +160,9 @@ module.exports = function (api_key, options) {
},
list: function(count, offset, cb) {
get("/v1/plans", { count: count, offset: offset}, cb );
+ },
+ update: function (plan_id, data, cb) {
+ post("/v1/plans/" + plan_id, data, cb);
}
},
invoices: {

0 comments on commit 4717a0b

Please sign in to comment.