lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.107.4 vs lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.108.0

- old
+ new

@@ -355,10 +355,10 @@ def success_from(response) return false unless response['result'] success_regex = /^(000\.000\.|000\.100\.1|000\.[36])/ - if success_regex =~ response['result']['code'] + if success_regex.match?(response['result']['code']) true else false end end