lib/active_shipping/carriers/fedex.rb in active_shipping-1.14.1 vs lib/active_shipping/carriers/fedex.rb in active_shipping-1.14.2
- old
+ new
@@ -302,10 +302,10 @@
# Returns delivery dates
xml.ReturnTransitAndCommit(true)
# Returns saturday delivery shipping options when available
- xml.VariableOptions('SATURDAY_DELIVERY')
+ xml.VariableOptions('SATURDAY_DELIVERY') if options[:saturday_delivery]
xml.RequestedShipment do
if options[:pickup_date]
xml.ShipTimestamp(options[:pickup_date].to_time.iso8601(0))
else