lib/datacite/client.rb in datacite-0.2.2 vs lib/datacite/client.rb in datacite-0.2.3
- old
+ new
@@ -17,10 +17,10 @@
@conn = Faraday.new(
url: "https://#{host}",
headers: headers
) do |conn|
conn.request :json
- conn.basic_auth(username, password)
+ conn.request(:basic_auth, username, password)
conn.response :json
end
end
# Creates a random DOI