Skip to content

Conversation

@noahpatterson
Copy link

I replaced the api_key with mine from a .gitignore file, FYI. Also, 1 question, in movie_json.rb #movie_search_by_title is complicated. Is this best fixed with more, simpler, methods? Thanks!

lib/api.rb Outdated
Copy link
Member

Choose a reason for hiding this comment

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

I like the moving the key into a git-ignored file. But, you can just have that set your variable... in api_key.rb have it set APIKEY directly. This line ends up looking odd (and future-you won't remember what this is)

@jwo
Copy link
Member

jwo commented Dec 22, 2013

Great job on the specs! And I really love the thought of security with the gitignore. Let me know if you have any questions on my comments :)

@noahpatterson
Copy link
Author

Tried to fix the things you suggested, let me know if this looks better! Thanks

Copy link
Member

Choose a reason for hiding this comment

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

Looks great!!

Only comment: rather than "store_movie", recommend "build_movie". Store tends to imply persistence.

@jwo
Copy link
Member

jwo commented Dec 26, 2013

Looks greast! Significant improvement in readability. yay!

@jwo
Copy link
Member

jwo commented Dec 26, 2013

👍 🎉

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