lib/apisync/http_client.rb in apisync-0.2.3 vs lib/apisync/http_client.rb in apisync-0.3.0

- old
+ new

@@ -89,11 +89,10 @@ transformed_payload = {} data.each do |key, value| if value.is_a?(Hash) transformed_payload[key.to_s] = payload_from_data(value) else - new_key = key.to_s.gsub("_", "-").to_sym - transformed_payload[new_key] = value + transformed_payload[key] = value end end transformed_payload end