fedex 3.9.0 → 3.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Readme.md CHANGED
@@ -392,10 +392,10 @@ puts service[:options]
392
392
  # Services/Options Available
393
393
 
394
394
  ```ruby
395
- Fedex::Shipment::SERVICE_TYPES
396
- Fedex::Shipment::PACKAGING_TYPES
397
- Fedex::Shipment::DROP_OFF_TYPES
398
- Fedex::Shipment::CARRIER_CODES
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
 
@@ -1,5 +1,5 @@
1
1
  module Fedex
2
- VERSION = "3.9.0"
2
+ VERSION = "3.9.1"
3
3
  API_VERSION = "13"
4
4
  PICKUP_API_VERSION = "9"
5
5
  SERVICE_AVAILABILITY_API_VERSION = "5"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fedex
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.0
4
+ version: 3.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: