lib/guillotine/adapters/riak_adapter.rb
# Public: Removes the assigned short code for a URL.
#
# url - The String URL to remove.
#
# Returns nothing.
Removes the assigned short code for a URL.
url - The String URL to remove.

Returns nothing.
Removes the assigned short code for a URL . url - The String URL to remove . Returns nothing .
def clear(url)
      if code_obj = code_object(url)
        @url_bucket.delete  code_obj.key
        @code_bucket.delete code_obj.data
      end
    end
def clear ( url ) if code_obj = code_object ( url ) @url_bucket . delete code_obj . key @code_bucket . delete code_obj . data end end
Public: Removes the assigned short code for a URL.
Public : Removes the assigned short code for a URL .
url
<not_specific>