I am thinking of writing an 'Active Record like' interface to a public
API (Digital NZ in this case). What's the best way to go about it?
Should I write an adapter?
Should I monkey patch the find methods on Active Record?
Should I avoid Active Record entirely?
Or is there an easier way?
TIA
Henry
I recommend using httparty. Works like a charm for apis.
Maybe something like activeresource?
Maybe something like activeresource?
> MongoMapper has some similar goals like being ActiveRecord-like,
> although obviously aimed at MongoDB.
Thanks, I'll take a look.
> All this might be for not. Judging by your post to DigitalNZ list,
> you've already done the work.
I've just done the basics. I'm leaving the fancy pants stuff for
another day.
Henry