From 8a238e78b4d445cb70b052f245f5966282048979 Mon Sep 17 00:00:00 2001 From: Brandon Bloom Date: Mon, 30 Apr 2018 17:26:41 -0700 Subject: [PATCH] Fedex Saturday Delivery --- lib/active_shipping/carriers/fedex.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/active_shipping/carriers/fedex.rb b/lib/active_shipping/carriers/fedex.rb index 1c0a3b82f..7e2b41692 100644 --- a/lib/active_shipping/carriers/fedex.rb +++ b/lib/active_shipping/carriers/fedex.rb @@ -224,6 +224,12 @@ def build_shipment_request(origin, destination, packages, options = {}) end end + if options[:saturday_delivery] + xml.SpecialServicesRequested do + xml.SpecialServiceTypes("SATURDAY_DELIVERY") + end + end + xml.LabelSpecification do xml.LabelFormatType('COMMON2D') xml.ImageType(options[:label_format] || 'PNG')