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

Jessica's Api-muncher #97

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

Jessica's Api-muncher #97

wants to merge 47 commits into from

Conversation

jchung722
Copy link

Hello @CheezItMan !

Here is my updated api-muncher; there isn't anything too fancy yet, but would like to add OAuth and filters one day...!

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

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

@jchung722 I've reviewed it and provided some specific feedback and updated the progress report Google Doc.

Overall very well done. I like the mouth background in the search bar, although I missed the search results at first.

Good work

@@ -0,0 +1,71 @@
Rails.application.routes.draw do

Choose a reason for hiding this comment

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

There are some routes here you're not using. Don't leave them in here if you're not using them.

@@ -0,0 +1,48 @@
require 'httparty'

Choose a reason for hiding this comment

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

Good encapsulation of the recipe concept into the Recipe class.

@@ -0,0 +1,57 @@
require 'test_helper'

Choose a reason for hiding this comment

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

Good work on testing the positive and negative cases using the API.

I might also add a test for what happens with an API request with no results. Like searching for "asdf"

:match_requests_on => [:method, :uri, :body] # The http method, URI and body of a request all need to match
}

config.filter_sensitive_data("<APP_KEY>") do

Choose a reason for hiding this comment

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

Good work filtering out the App_Key and id.

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

Successfully merging this pull request may close these issues.

2 participants