# File lib/active_merchant/billing/gateways/bogus.rb, line 109 def store(credit_card_or_reference, options = {}) case normalize(credit_card_or_reference) when '1' Response.new(true, SUCCESS_MESSAGE, {:billingid => '1'}, :test => true, :authorization => AUTHORIZATION) when '2' Response.new(false, FAILURE_MESSAGE, {:billingid => nil, :error => FAILURE_MESSAGE }, :test => true) else raise Error, ERROR_MESSAGE end end