./lib/ews/transaction/response.rb in exact4r-0.9.1 vs ./lib/ews/transaction/response.rb in exact4r-0.9.2
- old
+ new
@@ -15,8 +15,13 @@
# Indicates whether or not the transaction was approved
def approved?
self.transaction_approved == 1
end
+
+ def transaction_error?
+ self.transaction_error == 1
+ end
+
end
end
end
\ No newline at end of file