lib/pardot/http.rb in ruby-pardot-1.0.2 vs lib/pardot/http.rb in ruby-pardot-1.1.0

- old
+ new

@@ -56,11 +56,11 @@ raise ResponseError.new error if error rsp end - def fullpath object, path, version = 3 - full = File.join("/api", object, "version", version.to_s) + def fullpath object, path + full = File.join("/api", object, "version", @version.to_s) unless path.nil? full = File.join(full, path) end full end