fedex 3.9.0 → 3.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.md +4 -4
- data/lib/fedex/request/shipment.rb +4 -1
- data/lib/fedex/version.rb +1 -1
- metadata +1 -1
data/Readme.md
CHANGED
@@ -392,10 +392,10 @@ puts service[:options]
|
|
392
392
|
# Services/Options Available
|
393
393
|
|
394
394
|
```ruby
|
395
|
-
Fedex::
|
396
|
-
Fedex::
|
397
|
-
Fedex::
|
398
|
-
Fedex::
|
395
|
+
Fedex::Request::Base::SERVICE_TYPES
|
396
|
+
Fedex::Request::Base::PACKAGING_TYPES
|
397
|
+
Fedex::Request::Base::DROP_OFF_TYPES
|
398
|
+
Fedex::Request::Base::CARRIER_CODES
|
399
399
|
````
|
400
400
|
|
401
401
|
# Contributors:
|
@@ -46,7 +46,7 @@ module Fedex
|
|
46
46
|
add_shipper(xml)
|
47
47
|
add_recipient(xml)
|
48
48
|
add_shipping_charges_payment(xml)
|
49
|
-
add_special_services(xml) if @shipping_options[:return_reason] || @shipping_options[:cod]
|
49
|
+
add_special_services(xml) if @shipping_options[:return_reason] || @shipping_options[:cod] || @shipping_options[:saturday_delivery]
|
50
50
|
add_customs_clearance(xml) if @customs_clearance_detail
|
51
51
|
add_custom_components(xml)
|
52
52
|
xml.RateRequestTypes "ACCOUNT"
|
@@ -99,6 +99,9 @@ module Fedex
|
|
99
99
|
xml.CollectionType @shipping_options[:cod][:collection_type] if @shipping_options[:cod][:collection_type]
|
100
100
|
}
|
101
101
|
end
|
102
|
+
if @shipping_options[:saturday_delivery]
|
103
|
+
xml.SpecialServiceTypes "SATURDAY_DELIVERY"
|
104
|
+
end
|
102
105
|
}
|
103
106
|
end
|
104
107
|
|
data/lib/fedex/version.rb
CHANGED