Patches: Browse | Submit New | Admin

[#12211] ups.rb update to support getting multiple service quotes instead of just one like price

Date:
2007-07-12 03:44
Priority:
3
Submitted By:
Les Wight (lwight)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
ups.rb update to support getting multiple service quotes instead of just one like price

Detailed description
ups.rb update to support getting multiple service quotes instead of just one like price.

ups = Shipping::UPS.new :zip => 97202, :state => "OR", :sender_zip => 10001, :weight => 2
    
ups.rate => [["UPS", "08", "worldwide_expedited", 134.55], ["UPS", "65",
nil, 158.05], ["UPS", "11", "standard", 35.22]]

This patch is dependent on the base.rb patch I submitted for Canadian postal code   lookups.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-09-19 20:15
Sender: Konstantin Gredeskoul

Thank you for providing this patch!  It's really nice to be able
to get multiple rates.  It's working perfectly.

Attached Files:

Name Description Download
ups.patch ups.rb rate addition Download

Changes:

Field Old Value Date By
File Added2234: ups.patch2007-07-12 03:48lwight