Sha256: 143bf77cce0f491b276dce457ddb26ce22e53b6cfae3d19dfaa7c92d1cc86c93

Contents?: true

Size: 579 Bytes

Versions: 32

Compression:

Stored size: 579 Bytes

Contents

WCC::Contentful.configure do |config|
  # Required
  config.access_token = # Contentful CDN access token
  config.space = # Contentful Space ID

  # Optional
  config.management_token = # Contentful API management token
  config.default_locale = # Set default locale, if left blank this is 'en-US'
  config.store = # :direct, :eager_sync, or :lazy_sync
end

# Download content types, build models, and sync content
WCC::Contentful.init!

# Validate that models conform to a defined specification
WCC::Contentful.validate_models! unless defined?(Rails) && Rails.env.development?

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
wcc-contentful-app-1.7.1 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.7.0 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.6.2 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.6.1 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.6.0 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.5.1 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.5.0 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.5.0.rc1 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.4.0 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.4.0.rc3 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.4.0.rc2 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.3.2 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.4.0.rc1 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.3.1 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.3.0 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.2.1 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.2.0 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.1.2 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.1.1 lib/generators/wcc/templates/wcc_contentful.rb
wcc-contentful-app-1.1.0 lib/generators/wcc/templates/wcc_contentful.rb