lib/sisow/payment.rb in sisow-0.9.5 vs lib/sisow/payment.rb in sisow-0.9.9

- old
+ new

@@ -33,9 +33,13 @@ entrance_code.index(/-|_/).nil? && purchase_id.index(/\#|_/).nil? && (!amount.nil? && amount != '') end + def ideal? + payment_method == 'ideal' + end + def payment_method; raise 'Implement me in a subclass'; end private def response