lib/pdfmonkey/adapter.rb in pdfmonkey-0.5.0 vs lib/pdfmonkey/adapter.rb in pdfmonkey-0.6.0
- old
+ new
@@ -48,10 +48,10 @@
private def headers
{
'Authorization' => "Bearer #{config.private_key}",
'Content-Type' => 'application/json',
- 'User-Agent' => 'Ruby'
+ 'User-Agent' => config.user_agent
}
end
private def send_request(method, resource)
uri = URI(url_for(resource))