nbarthelemy/name_dot_com_api — pull request #3 by tylr (2012-06-21 22:10:40+00:00)
Title: Added Ability To Renew a Domain

I needed to renew domains for a project and didn't see it implemented already. This is the easy approach.

One design decision you'll need to make is if you want to implement methods for the individual features of the name.com's /api/order end-point (e.g. domain/renew, domain/create). Another approach is to implement the an "order" method, that supports passing an arbitrary amount of "order items." Maybe implement both?

Either way, thanks for this gem. It saved me from doing a lot of legwork.