Sha256: f0aa56ee3d86fd49c27ab08b92c65353f43f4beb1cf0dd6eaebc7824692160cd

Contents?: true

Size: 398 Bytes

Versions: 2

Compression:

Stored size: 398 Bytes

Contents

# bundle exec ruby examples/example_queries.rb

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
p client.datasources

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
storyblok-3.2.0 examples/example_queries.rb
storyblok-3.1.0 examples/example_queries.rb