Permalink
Browse files

Removed the duplicate cancellation example from the README

  • Loading branch information...
1 parent 69eb43a commit d17c608808c0d7b8cc5053fe2dca6b558e0352b9 @brewski committed Nov 2, 2012
Showing with 1 addition and 10 deletions.
  1. +1 −10 README.md
View
@@ -155,15 +155,6 @@ tracking_numbers = responses.map do |(tracking_number, label, charge)|
File.open("#{tracking_number}.pdf", "w") { |f| f << label }
tracking_number
end
-
-tracking_numbers.each do |tracking_number|
- ship_service.delete_shipment(
- TrackingId.new.tap do |tracking_id|
- tracking_id.trackingNumber = tracking_number
- tracking_id.trackingIdType = TrackingIdType::EXPRESS
- end
- )
-end
```
### Canceling a shipment
@@ -190,4 +181,4 @@ rescue
puts rate_service.wiredump
raise $!
end
-```
+```

0 comments on commit d17c608

Please sign in to comment.