This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My awesome question |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You can pass any object implementing the same methods as the BasicCache | |
# https://github.com/prismicio/ruby-kit/blob/master/lib/prismic/cache/basic.rb | |
cache = Prismic::BasicCache.new | |
api = Prismic::api('https://lesbonneschoses.prismic.io/api', cache: cache) | |
# The Api will use the custom cache object |