Skip to content

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