mirror of
https://github.com/wahyd4/ruby-sdk.git
synced 2026-08-09 12:56:21 +10:00
删除过期的preview接口。
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user