Skip to content
Snippets Groups Projects
Commit f9d72827 authored by asafdav2's avatar asafdav2
Browse files

fix comment describing the required cache interface

cache must respond to #del, not #keys
parent 54d9d621
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ Geocoder.configure( ...@@ -7,7 +7,7 @@ Geocoder.configure(
# http_proxy: nil, # HTTP proxy server (user:pass@host:port) # http_proxy: nil, # HTTP proxy server (user:pass@host:port)
# https_proxy: nil, # HTTPS proxy server (user:pass@host:port) # https_proxy: nil, # HTTPS proxy server (user:pass@host:port)
# api_key: nil, # API key for geocoding service # api_key: nil, # API key for geocoding service
# cache: nil, # cache object (must respond to #[], #[]=, and #keys) # cache: nil, # cache object (must respond to #[], #[]=, and #del)
# cache_prefix: 'geocoder:', # prefix (string) to use for all cache keys # cache_prefix: 'geocoder:', # prefix (string) to use for all cache keys
# Exceptions that should not be rescued by default # Exceptions that should not be rescued by default
......
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