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

Jnkd/master - finished project #15

Open
wants to merge 21 commits into
base: jnkd/master
Choose a base branch
from

Conversation

kdefliese
Copy link

Link to our Trello board: https://trello.com/b/yL9iJtWA/junked

We would have liked to finish some ideas we had like having each merchant ship from its own address and creating multiple boxes, but we finished the major requirements.

Betsy fork deployed here: http://betsy-fork.herokuapp.com/
Shipping service deployed here: http://junked.herokuapp.com/ (but there's nothing to see)

@blip-lorist blip-lorist self-assigned this Feb 2, 2016
@blip-lorist
Copy link

  • Good use of status codes - this ultimately helps devs understand why something hasn't worked or hasn't returned content.
  • Have you explored the VCR gem for API testing? You might find it interested: https://github.com/vcr/vcr
    Something like VCR can help because it creates "recordings" of an API's response so that you don't have to keep hitting the ActiveShipping API every time you run rspec. It just keeps a recording of the API response, which also allows you to test while offline / when the API is down.

end
end

context "no rates found" do

Choose a reason for hiding this comment

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

It would have been interesting to see what this would yield if ActiveShipping was unable to provide any options and how that would get communicated to the user (like if a package was millions of lbs).

@blip-lorist
Copy link

Great work overall - you hit all criteria defined by the technical requirements. I checked your Betsy fork, and it looks like you took care of timeouts with Net::ReadTimeout.

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.

3 participants