lib/wcc/contentful/model.rb in wcc-contentful-0.2.1 vs lib/wcc/contentful/model.rb in wcc-contentful-0.2.2

- old
+ new

@@ -15,9 +15,10 @@ # Contentful CDN or a locally-downloaded copy. # # See the {sync_store}[rdoc-ref:WCC::Contentful::Configuration.sync_store] parameter # on the WCC::Contentful::Configuration class. attr_accessor :store + attr_accessor :preview_store def const_missing(name) raise WCC::Contentful::ContentTypeNotFoundError, "Content type '#{content_type_from_constant(name)}' does not exist in the space" end