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