demarches-normaliennes/app/uploaders/remote_downloader.rb
2016-07-05 11:50:45 +02:00

9 lines
149 B
Ruby

class RemoteDownloader
def initialize(filename)
@filename = filename
end
def url
@url ||= File.join(STORAGE_URL, @filename)
end
end