lib/immoscout/api/request.rb in immoscout-1.5.0 vs lib/immoscout/api/request.rb in immoscout-1.6.0
- old
+ new
@@ -28,10 +28,10 @@
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'] = \
+ request.headers['User-Agent'] =
"RubyImmoscout/#{Immoscout::VERSION}"
end
end
# rubocop:enable Metrics/MethodLength
end