Sha256: b702e5f3d5b4c6fe88159181db0ccad6a8cd49895ba9ae982013eec35678186c

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 Bytes

Contents

require 'storyblok'

logger = Logger.new(STDOUT)

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

p client.stories(starts_with: 'en/news')
p client.story('demo1')
p client.datasource_entries(datasource: 'labels', per_page: 10)
p client.links

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
storyblok-1.0.2 examples/example_queries.rb
storyblok-1.0.1 examples/example_queries.rb
storyblok-1.0.0 examples/example_queries.rb