Readme.md in fedex-2.2.2 vs Readme.md in fedex-3.0.0
- old
+ new
@@ -186,12 +186,17 @@
### ** Tracking a shipment **
To track a shipment:
```ruby
-tracking_info = fedex.track(:tracking_number => "1234567890123")
+results = fedex.track(:tracking_number => "1234567890123")
+# => [#<Fedex::TrackingInformation>]
+# Pull the first result from the returned array
+#
+tracking_info = results.first
+
tracking_info.tracking_number
# => "1234567890123"
tracking_info.status
# => "Delivered"
@@ -240,9 +245,10 @@
- [mmell](https://github.com/mmell) (Michael Mell)
- [jordanbyron](https://github.com/jordanbyron) (Jordan Byron)
- [geermc4](https://github.com/geermc4) (German Garcia)
- [janders223] (https://github.com/janders223) (Jim Anders)
- [jlambert121] (https://github.com/jlambert121) (Justin Lambert)
+- [sborsje] (https://github.com/sborsje) (Stefan Borsje)
# Copyright/License:
Copyright 2011 [Jazmin Schroeder](http://jazminschroeder.com)
This gem is made available under the MIT license.