Sha256: 945b606dd150b99bb5dc3932a9d2c1e193cff006df8cc2c622988069b1b9569c

Contents?: true

Size: 395 Bytes

Versions: 16

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

# @api Client
class WCC::Contentful::SimpleClient::Preview < WCC::Contentful::SimpleClient::Cdn
  def initialize(space:, preview_token:, **options)
    super(
      **options,
      api_url: options[:preview_api_url] || 'https://preview.contentful.com/',
      space: space,
      access_token: preview_token
    )
  end

  def client_type
    'preview'
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
wcc-contentful-1.7.2 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.7.1 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.7.0 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.6.2 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.6.1 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.6.0 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.5.1 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.5.0 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.5.0.rc1 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.4.0 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.4.0.rc3 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.4.0.rc2 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.3.2 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.4.0.rc1 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.3.1 lib/wcc/contentful/simple_client/preview.rb
wcc-contentful-1.3.0 lib/wcc/contentful/simple_client/preview.rb