lib/file_history.rb in diff_news-0.9.4 vs lib/file_history.rb in diff_news-0.9.5
- old
+ new
@@ -8,11 +8,11 @@
module DiffNews
class FileHistory < DefaultHistory
attr_reader :revisions
- def initialize provider, uuid
- super provider, uuid
+ def initialize provider, uuid, url
+ super provider, uuid, url
end
def file_path(extension)
"#{@provider}/#{@uuid}.#{extension}"
end