From 21cc9ab1ff6ed1a9c83c82d15ce3e7c5f99c8774 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Fri, 22 Feb 2013 10:56:59 +1100 Subject: [PATCH] work in progress --- lib/image_optimizer.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lib/image_optimizer.rb diff --git a/lib/image_optimizer.rb b/lib/image_optimizer.rb new file mode 100644 index 00000000000..10ac0b07bf2 --- /dev/null +++ b/lib/image_optimizer.rb @@ -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