lib/immoscout/api/request.rb in immoscout-1.1.0 vs lib/immoscout/api/request.rb in immoscout-1.2.0

- old
+ new

@@ -24,9 +24,11 @@ else request.body = payload if payload request.headers['Content-Type'] = "application/json;charset=UTF-8" end request.headers['Accept'] = "application/json" + request.headers['User-Agent'] = \ + "HausgoldImmoscout/#{Immoscout::VERSION}" end end end end end