Sha256: adc7bb0b91adbb38b797a7a1ebc495ad480f9cc27b8b81687ff01b437bb7bd96
Contents?: true
Size: 661 Bytes
Versions: 1
Compression:
Stored size: 661 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.content_delivery = # :direct, :eager_sync, or :lazy_sync config.sync_store = # :memory, :postgres, or a custom implementation 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wcc-contentful-0.1.0 | lib/generators/wcc/templates/wcc_contentful.rb |