lib/attune/client.rb in attune-1.0.17 vs lib/attune/client.rb in attune-1.0.18

- old
+ new

@@ -68,10 +68,9 @@ def request(http_method, path, opts) adapter_method = adapter.method(http_method.downcase) adapter_method.call do |req| req.url path req.headers['Content-Type'] = 'application/json' - req.headers['User-Agent'] = 'Attune RClient ' + Attune::VERSION req.headers.merge! opts[:headers] if opts[:headers] req.params = opts[:params] if opts[:params] req.body = ::JSON.dump(opts[:body]) if opts[:body] end rescue Errno::ENOENT, Faraday::Error::ClientError => e