lib/web_purify/methods/blacklist.rb
# Remove a word from the blacklist
#
# @param  word  [String]  The word to remove from the blacklist
# @return       [Boolean] True if successful, false if not
Remove a word from the blacklist
Remove a word from the blacklist
def remove_from_blacklist(word)
      params = {
        :method => WebPurify::Constants.methods[:remove_from_blacklist],
        :word   => word
      }
      parsed = WebPurify::Request.query(text_request_base, @query_base, params)
      return parsed[:success]=='1'
    end
def remove_from_blacklist ( word ) params = { :method => WebPurify :: Constants . methods [ :remove_from_blacklist ] , :word => word } parsed = WebPurify :: Request . query ( text_request_base , @query_base , params ) return parsed [ :success ] == '1' end
Remove a word from the blacklist
Remove a word from the blacklist
True if successful, false if not
True if successful false if not
Boolean
word
The word to remove from the blacklist
The word to remove from the blacklist