# File lib/active_merchant/billing/gateways/bogus.rb, line 75 def store(creditcard, options = {}) case creditcard.number 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