demarches-normaliennes/app/uploaders/remote_downloader.rb

10 lines
149 B
Ruby
Raw Normal View History

class RemoteDownloader
def initialize(filename)
@filename = filename
end
def url
2016-07-05 11:50:45 +02:00
@url ||= File.join(STORAGE_URL, @filename)
end
end