-
Notifications
You must be signed in to change notification settings - Fork 48
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 | |||
|
There was a problem hiding this comment.
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' | |||
|
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
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...!