Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Brian/bulk shipping #7

Merged
merged 3 commits into from
Aug 6, 2019
Merged

Brian/bulk shipping #7

merged 3 commits into from
Aug 6, 2019

Conversation

brian31988
Copy link

@brian31988 brian31988 commented Jul 10, 2019

@brian31988 brian31988 self-assigned this Jul 10, 2019
@@ -631,6 +631,14 @@ def build_international_forms(xml, origin, destination, packages, options)
end
end

def products(packages)
if packages && packages.first && packages.first.options && packages.first.options[:products]
packages.first.options[:products]
Copy link

Choose a reason for hiding this comment

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

Is .first good enough or should we combine all products in all packages?

Copy link

Choose a reason for hiding this comment

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

@brian31988 ^^^ Was this comment resolved IRL? Is packages always an array with one element?

Copy link
Author

Choose a reason for hiding this comment

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

Yea packages is always an array with one element

Copy link

@grayxr grayxr left a comment

Choose a reason for hiding this comment

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

lgtm

@brian31988 brian31988 merged commit 4eb7452 into master Aug 6, 2019
@brian31988 brian31988 deleted the brian/bulk-shipping branch August 6, 2019 21:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants