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

Erin's semi-finished api-muncher #93

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Conversation

Erin007
Copy link

@Erin007 Erin007 commented Nov 8, 2016

There are no tests, because I am so wildly confused about what's going on. It is also only minimally responsive, because Foundation still doesn't make that much sense. But, here's what I have so far...


search_results << wrapper
end
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably should include some else cases, in case the "hits" key is empty.

yield: data[0]["yield"],
health_labels: data[0]["healthLabels"],
diet_labels: data[0]["dietLabels"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very cleanly written

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