Skip to content

Instantly share code, notes, and snippets.

View dohzya's full-sized avatar

Étienne Vallette d'Osia dohzya

  • EY Fabernovel
  • Paris, France
  • 23:15 (UTC +02:00)
View GitHub Profile
# 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
My awesome question