Shopify/active_shipping — pull request #81 by DIRhuynh (2013-04-18 14:35:09+00:00)
Title: Add delivery signature to tracking response

The prior implementation of FedEx delivery signature parsing relied on the response message which, in FedEx's case doesn't contain the delivery signature. I added the parsing of the correct tag from the FedEx XML response.

Furthermore, I discovered that there is no convenient location to store the prior mentioned delivery signature. Thus, after some deliberation, I have decided to add it to the `TrackingResponse` class.

This is a good idea because that class is meant to encapsulate relevant tracking information, e.g. delivery time and etc. If it can include delivery time, it should also be able to include a `delivery_signature` attribute. The `delivery_signature` attribute is something that is independent of any individual shipment events since that piece of information can be needed outside of the context of the shipment event in which it was received.

E.G. When the order is complete a company may want to verify that it was signed for by an employee of the company instead of some random stranger.

Furthermore, FedEx follows the same philosophy in their XML response. The delivery signature is independent of any individual shipment event and is instead stored in the *"TrackingResponse"* that subsequently stores all the shipment events.