lib/paddle/client.rb in paddle-1.1.1 vs lib/paddle/client.rb in paddle-1.1.2
- old
+ new
@@ -6,10 +6,10 @@
def connection
@connection ||= Faraday.new(Paddle.config.url) do |conn|
conn.request :authorization, :Bearer, Paddle.config.api_key
conn.headers = {
- "User-Agent" => "paddlerb/v#{VERSION} (github.com/deanpcmad/paddlerb)"
+ "User-Agent" => "paddle/v#{VERSION} (github.com/deanpcmad/paddle)"
}
conn.request :json
conn.response :json, content_type: "application/json"