Skip to content
Snippets Groups Projects
Commit 632f744c authored by Alex Reisner's avatar Alex Reisner
Browse files

Clarify method description.

In Redis "expiration" doesn't mean deleting the key.
parent ba932a59
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,8 @@ module Geocoder
end
##
# Expire cache entry for given URL,
# or pass <tt>:all</tt> to expire everything.
# Delete cache entry for given URL,
# or pass <tt>:all</tt> to clear all URLs.
#
def expire(url)
if url == :all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment