mirror of
https://github.com/discourse/discourse.git
synced 2025-03-02 17:29:25 +00:00
work in progress
This commit is contained in:
parent
1ce70b49c0
commit
21cc9ab1ff
15
lib/image_optimizer.rb
Normal file
15
lib/image_optimizer.rb
Normal file
@ -0,0 +1,15 @@
|
||||
# This class is used to download an optimize images.
|
||||
|
||||
class ImageOptimizer
|
||||
|
||||
def initialize(url)
|
||||
@url = url
|
||||
end
|
||||
|
||||
def force_refresh!
|
||||
end
|
||||
|
||||
def optimized_path(width=nil, height=nil)
|
||||
end
|
||||
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user