Shopify/active_merchant — pull request #514 by forest (2012-11-28 00:36:04+00:00)
Title: Litle token based purchase

Added support for passing a credit card OR token to the authorize and purchase methods.

* Note: a token is not a reference (authorization ) to a previous transaction, but a token representing a credit card. A token is created by the gateway (if configured for tokenization) and returned in either explicit or implicit register token requests.
* Added certification tests defined by the LitleXML Reference Guide section 2.4.4
* Started refactoring the LitleGateway class to match the patterns used by other gateways.
* White space cleanup.