From 3a3d0268126e347809cae86a5e26e57666e97578 Mon Sep 17 00:00:00 2001 From: Liang Tao Date: Sat, 8 Feb 2014 17:24:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=BF=87=E6=9C=9F=E7=9A=84pr?= =?UTF-8?q?eview=E6=8E=A5=E5=8F=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/qiniu/rs.rb | 4 ---- lib/qiniu/rs/image.rb | 4 ---- 2 files changed, 8 deletions(-) diff --git a/lib/qiniu/rs.rb b/lib/qiniu/rs.rb index 0c0f457..d15216f 100755 --- a/lib/qiniu/rs.rb +++ b/lib/qiniu/rs.rb @@ -195,10 +195,6 @@ module Qiniu code == StatusOK ? data : false end - def image_preview_url(url, spec) - Image.preivew_url(url, spec) - end - def image_mogrify_preview_url(source_image_url, options) Image.mogrify_preview_url(source_image_url, options) end diff --git a/lib/qiniu/rs/image.rb b/lib/qiniu/rs/image.rb index 78e128e..9dbdf7c 100755 --- a/lib/qiniu/rs/image.rb +++ b/lib/qiniu/rs/image.rb @@ -14,10 +14,6 @@ module Qiniu Utils.http_request url + '?exif', nil, {:method => :get} end # exif - def preivew_url(url, spec) - url + '/imagePreview/' + spec.to_s - end - def mogrify_preview_url(source_image_url, options) source_image_url + '?' + generate_mogrify_params_string(options) end