lib/rmega/storage.rb in rmega-0.0.5 vs lib/rmega/storage.rb in rmega-0.0.6
- old
+ new
@@ -83,10 +83,10 @@
end
list
end
def download public_url, path
- Node.initialize_by_public_url(session, public_url).download path
+ Node.fabricate(session, public_url).download(path)
end
# Handle file upload