lib/web_purify/methods/image_filters.rb
def imgcheck(imgurl, options={})
      params = {
        :method => WebPurify::Constants.methods[:imgcheck],
        :imgurl => imgurl
      }
      parsed = WebPurify::Request.query(image_request_base, @query_base, params.merge(options))
      return parsed[:imgid]
    end
# Check for existence of prohibited image content
#
# @param  imgurl  [String] URL of the image to be moderated
# @param  options [Hash]   Options hash, used to set additional parameters
# @return         [String] Image ID that is used to return results to the callback function
Check for existence of prohibited image content
Check for existence of prohibited image content
def imgcheck(imgurl, options={})
      params = {
        :method => WebPurify::Constants.methods[:imgcheck],
        :imgurl => imgurl
      }
      parsed = WebPurify::Request.query(image_request_base, @query_base, params.merge(options))
      return parsed[:imgid]
    end
def imgcheck ( imgurl , options = { } ) params = { :method => WebPurify :: Constants . methods [ :imgcheck ] , :imgurl => imgurl } parsed = WebPurify :: Request . query ( image_request_base , @query_base , params . merge ( options ) ) return parsed [ :imgid ] end
Check for existence of prohibited image content
Check for existence of prohibited image content
Image ID that is used to return results to the callback function
Image ID that is used to return results to the callback function
String
imgurl
URL of the image to be moderated
URL of the image to be moderated
options
Options hash, used to set additional parameters
Options hash used to set additional parameters