mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04:00
work in progress
This commit is contained in:
parent
1ce70b49c0
commit
21cc9ab1ff
1 changed files with 15 additions and 0 deletions
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…
Reference in a new issue