From: Xavier Noria Date: 2007-08-06T04:09:20+09:00 Subject: Re: Better way to do this? Currently using two method_missing calls... El Aug 4, 2007, a las 5:05 PM, Dan escribi�: >> The idea is then that something like >> >> API.images.find_by_name(name) >> >> translates to a POST request where "images" and "find_by_name" are >> string values? > > exactly Yeah, I would have written the same implementatcion than you to support that usage. Perhaps API.images would return a different class instead of API itself with its own method missing depending on the role of that API.images conceptually, but that would be essentially the same approach anyway. Looks fine to me. -- fxn