Sha256: 14ccdcfd769396a93830db05b4a4aa8d84b8bfcc0d27d1fd8049d106b835b532
Contents?: true
Size: 441 Bytes
Versions: 8
Compression:
Stored size: 441 Bytes
Contents
require 'shipping/flat_rate' require 'tax/sales_tax' module CheckoutHelper CREDIT_CARD_TYPES = [ ["Visa", "visa"], ["Master Card", "master"], ["Discover", "discover"], ["American Express", "american_express"] ].freeze #for some reason i had to define a method ... apparently constants are not mixed in #in the view helper (not sure but that's my guess) def credit_card_types CREDIT_CARD_TYPES end end
Version data entries
8 entries across 8 versions & 2 rubygems