lib/3scale/client.rb in 3scale_client-2.5.0 vs lib/3scale/client.rb in 3scale_client-2.6.0

- old
+ new

@@ -273,9 +273,13 @@ append_encoded_value(result, index, [:client_ip], transaction[:client_ip]) transaction[:usage].each do |name, value| append_encoded_value(result, index, [:usage, name], value) end + + transaction.fetch(:log, {}).each do |name, value| + append_encoded_value(result, index, [:log, name], value) + end end result end