lib/rock_rms/response/transaction.rb in rock_rms-3.9.0 vs lib/rock_rms/response/transaction.rb in rock_rms-4.0.0
- old
+ new
@@ -19,10 +19,10 @@
def format_single(data)
response = to_h(MAP, data)
response[:details] = TransactionDetail.format(response[:details])
- response[:payment_details] = PaymentMethod.format(response[:payment_details])
+ response[:payment_details] = PaymentDetail.format(response[:payment_details])
response[:person] = format_person(response[:person])
response[:amount] = calculate_total(response[:details])
response
end