class ContentfulRails::Configuration

Configuration accessors

Attributes

access_token[RW]
authenticate_webhooks[RW]
contentful_options[RW]
default_locale[RW]
eager_load_entry_mapping[RW]
enable_preview_domain[RW]
environment[RW]
management_token[RW]
perform_caching[RW]
preview_access_token[RW]
preview_domain[RW]
preview_password[RW]
preview_username[RW]
slug_delimiter[RW]
space[RW]
webhooks_password[RW]
webhooks_username[RW]

Public Class Methods

new() click to toggle source
# File lib/contentful_rails.rb, line 56
def initialize
  @authenticate = true
  @slug_delimiter = '-'
  @environment = 'master'
  @default_locale = 'en-US'
  @perform_caching = Rails.configuration.action_controller.perform_caching
  @eager_load_entry_mapping = true
  @contentful_options = {}
end