Readme.md in fedex-2.2.1 vs Readme.md in fedex-2.2.2
- old
+ new
@@ -1,14 +1,16 @@
# Fedex Rate Web Service
+
For more information visit [Fedex Web Services for Shipping](https://www.fedex.com/wpor/web/jsp/drclinks.jsp?links=wss/index.html).
This version uses the Non-SOAP Web Services so there is no need to download the
Fedex WSDL files, note however that you will need to apply for development/production credentials.
-Note: This is work in progress make sure to test your results.
+Note: Please make sure to test your results.
+
# Installation:
Rails 3.x using Bundler's Gemfile:
```ruby
@@ -113,10 +115,20 @@
@total_base_charge="32.1",
@total_freight_discounts=nil,
@total_net_freight="32.1",
@rate_zone="51">
```
+### ** Get a Transit time **
+```ruby
+ship = fedex.ship(:shipper=>shipper,
+ :recipient => recipient,
+ :packages => packages,
+ :service_type => "FEDEX_GROUND",
+ :shipping_details => shipping_details)
+puts ship[:completed_shipment_detail][:operational_detail] [:transit_time]
+```
+Above code will give you the transit time.
### ** Generate a shipping label (PDF) **
To create a label for a shipment:
@@ -225,10 +237,10 @@
# Contributors:
- [jazminschroeder](http://github.com/jazminschroeder) (Jazmin Schroeder)
- [parndt](https://github.com/parndt) (Philip Arndt)
- [mmell](https://github.com/mmell) (Michael Mell)
- [jordanbyron](https://github.com/jordanbyron) (Jordan Byron)
-- [GermanC4](https://github.com/GermanC4) (German Garcia)
+- [geermc4](https://github.com/geermc4) (German Garcia)
- [janders223] (https://github.com/janders223) (Jim Anders)
- [jlambert121] (https://github.com/jlambert121) (Justin Lambert)
# Copyright/License:
Copyright 2011 [Jazmin Schroeder](http://jazminschroeder.com)