From c905fb5b0a01a2f469f0c0731a7dd5781cf0ecee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Tue, 13 Jun 2017 16:10:08 +0200 Subject: [PATCH] Add doc on api_cache param. --- lib/prismic.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/prismic.rb b/lib/prismic.rb index 1cb9ffc..1c95ac3 100644 --- a/lib/prismic.rb +++ b/lib/prismic.rb @@ -52,6 +52,7 @@ def full_trace(e=self) # @param [Hash] opts The options # @option opts [String] :access_token (nil) The access_token # @option opts :http_client (DefaultHTTPClient) The HTTP client to use + # @option opts :api_cache (nil) The caching object for the /api endpoint cache (for instance Prismic::Cache) to use # @option opts :cache (nil) The caching object (for instance Prismic::Cache) to use, or false for no caching # @overload api(url, access_token) # Provide the access_token (only)