lib/wayback/client.rb in wayback-0.1.0 vs lib/wayback/client.rb in wayback-0.2.0
- old
+ new
@@ -44,10 +44,10 @@
private
def request(method, path, params={}, signature_params=params)
- connection.send(method.to_sym, path, params).env
+ connection.send(method.to_sym, path.insert(0, @endpoint_path), params).env
rescue Faraday::Error::ClientError
raise Wayback::Error::ClientError
end
# Returns a Faraday::Connection object