bjjb / ebayr

A small library to help using the eBay Trading API with Ruby
MIT License
60 stars 49 forks source link

Results as Objects #2

Closed bjjb closed 10 years ago

bjjb commented 12 years ago

It would be pretty cool if the results automatically turned themselves into clever objects, so that you could go:

Ebayr.call(:GetItem, :ItemID => 1234567890).map(&:name)

A quick start would probably be to turn them (recursively) into OpenStructs.

We ought to ensure that we don't hammer performance on large result sets, though. Would probably help to have some benchmarking built in.

bjjb commented 10 years ago

This has been working for a while, with HipsterHash type objects. Closing!