examples/cache.rb in storyblok-3.0.1 vs examples/cache.rb in storyblok-3.1.0

- old
+ new

@@ -1,22 +1,21 @@ # bundle exec ruby examples/cache.rb -require 'storyblok' -require 'redis' +require "storyblok" +require "redis" logger = Logger.new(STDOUT) -redis_url = 'redis://localhost:6379' +redis_url = "redis://localhost:6379" Storyblok::Cache.client = Redis.new(:url => redis_url) client = Storyblok::Client.new( - token: 't618GfLe1YHICBioAHnMrwtt', - api_url: 'localhost:3001', + token: "t618GfLe1YHICBioAHnMrwtt", + api_url: "localhost:3001", secure: false, logger: logger ) links = client.links links = client.links links = client.flush links = client.links -