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

Deprecate Shipment#add_shipping_method #2018

Merged
merged 1 commit into from
Jun 14, 2017

Conversation

jhawthorn
Copy link
Contributor

This was a convenience method which was used in specs to add a shipping rate with a given shipping method. However it isn't suitable for use outside of specs. It doesn't handle having an existing selected rate and doesn't calculate the correct cost.

In specs it would be better just to create the shipping_rate instead of using this method, as it will be more obvious what is going on.

This was a convenience method which was used in specs to add a shipping
rate with a given shipping method. However it isn't suitable for use
outside of specs it doesn't handle having an existing selected rate and
doesn't calculate the correct cost.

In specs it would be better just to create the shipping_rate instead of
using this method, as it will be more obvious what is going on.
Copy link
Contributor

@adammathys adammathys left a comment

Choose a reason for hiding this comment

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

👍

@jhawthorn jhawthorn merged commit f0cabac into solidusio:master Jun 14, 2017
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.

None yet

4 participants