lib/alma/fine_set.rb in alma-0.2.1 vs lib/alma/fine_set.rb in alma-0.2.3

- old
+ new

@@ -8,14 +8,14 @@ def response_records_key 'fee' end def sum - @ws_response['fees'].fetch('total_sum', 0) + @response[top_level_key].fetch('total_sum', 0) end def currency - @ws_response['fees'].fetch('total_sum', nil) + @response[top_level_key].fetch('currency', nil) end end end \ No newline at end of file