Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept an array of ASINs in lookup method. #8

Merged
merged 2 commits into from
Aug 16, 2011
Merged

Conversation

iamteem
Copy link
Contributor

@iamteem iamteem commented Aug 16, 2011

This patch will allow passing an array of ASINs to the lookup method. There's a limit of 10 ids per lookup in Amazon but this patch doesn't check for that.

phoet added a commit that referenced this pull request Aug 16, 2011
Accept an array of ASINs in lookup method.
@phoet phoet merged commit a66e8e4 into phoet:develop Aug 16, 2011
@phoet
Copy link
Owner

phoet commented Aug 16, 2011

i changed the interface to use varargs, so that you can still pass in just a single asin, but it will always return an array of items.

@phoet
Copy link
Owner

phoet commented Aug 16, 2011

pushed 0.6.0 to gemcutter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants