Sha256: 58a25cbe5ef98fa267a7d67b63bf04a6603a1aec5721e77e84e98282be803841

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

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.2 examples/cache.rb