Skip to content

Commit

Permalink
Added plans update API
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara authored and abh committed Aug 3, 2012
1 parent 0072fa6 commit 4717a0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 4717a0b

Please sign in to comment.