Skip to content

Conversation

@annamm77
Copy link

Deirdre & Anna

We are proud of how we handled the Order Item quantity in the packages method and that we were able to send back a specific error using ActiveShipping's error messages. It was great!!!!!

If we had more time, we could've added more tests.

betsy link: Lisa-Sano/betsy#1
heroku: http://shippingapi.herokuapp.com/

end

def destination
@destination ||= ActiveShipping::Location.new(country: 'US',

Choose a reason for hiding this comment

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

do @destination and @origin and @packages (below) need to be set as instance variables? Since they're not being used anywhere else, could they just be local variables?

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.

4 participants