spree/spree_gateway — pull request #21 by jsqu99 (2012-07-12 20:11:43+00:00)
Title: [Fixes #20] - undefined method type for credit card - beanstream

I tried to future-proof this since Spree::Creditcard has been recently renamed (and we don't yet have any branches in this repo).

Thoughts on my approach? I'm not familiar with how checks work in beanstream, so I left that part as-is in the elsif clause.