Sha256: 184cab7fd28bbfd2a4d19750e26383dd1498c9619be04063b1b59ac67a9beb88

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

# bundle exec ruby examples/cache.rb

require 'storyblok'
require 'redis'

logger = Logger.new(STDOUT)

redis_url = 'redis://localhost:6379'
Storyblok::Cache.client = Redis.new(:url => redis_url)

client = Storyblok::Client.new(
  token: 't618GfLe1YHICBioAHnMrwtt',
  api_url: 'localhost:3001',
  secure: false,
  logger: logger
)

links = client.links

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storyblok-1.0.3 examples/cache.rb