# File lib/active_merchant/billing/gateways/bogus.rb, line 98 def void(reference, options = {}) case reference when '1' raise Error, VOID_ERROR_MESSAGE when '2' Response.new(false, FAILURE_MESSAGE, {:authorization => reference, :error => FAILURE_MESSAGE }, :test => true) else Response.new(true, SUCCESS_MESSAGE, {:authorization => reference}, :test => true) end end