2013-11-05 12:04:47 -06:00
|
|
|
module FileStore
|
|
|
|
|
|
|
|
class BaseStore
|
|
|
|
|
2014-04-15 06:04:14 -05:00
|
|
|
def store_upload(file, upload, content_type = nil)
|
2013-11-05 12:04:47 -06:00
|
|
|
end
|
|
|
|
|
|
|
|
def store_optimized_image(file, optimized_image)
|
|
|
|
end
|
|
|
|
|
|
|
|
def remove_upload(upload)
|
|
|
|
end
|
|
|
|
|
|
|
|
def remove_optimized_image(optimized_image)
|
|
|
|
end
|
|
|
|
|
|
|
|
def has_been_uploaded?(url)
|
|
|
|
end
|
|
|
|
|
|
|
|
def absolute_base_url
|
|
|
|
end
|
|
|
|
|
|
|
|
def relative_base_url
|
|
|
|
end
|
|
|
|
|
2014-10-15 12:20:04 -05:00
|
|
|
def download_url(upload)
|
|
|
|
end
|
|
|
|
|
2013-11-05 12:04:47 -06:00
|
|
|
def external?
|
|
|
|
end
|
|
|
|
|
|
|
|
def internal?
|
|
|
|
end
|
|
|
|
|
|
|
|
def path_for(upload)
|
|
|
|
end
|
|
|
|
|
|
|
|
def download(upload)
|
|
|
|
end
|
|
|
|
|
2014-01-07 10:45:06 -06:00
|
|
|
def avatar_template(avatar)
|
2013-11-05 12:04:47 -06:00
|
|
|
end
|
|
|
|
|
2013-11-27 15:01:41 -06:00
|
|
|
def purge_tombstone(grace_period)
|
|
|
|
end
|
|
|
|
|
2015-05-26 21:02:57 -05:00
|
|
|
def cdn_url(url)
|
|
|
|
url
|
|
|
|
end
|
|
|
|
|
2013-11-05 12:04:47 -06:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|