Method: WCC::Contentful::Services#preview_store

Defined in:
lib/wcc/contentful/services.rb

#preview_storeObject

An instance of WCC::Contentful::Store::CDNAdapter which connects to the Contentful Preview API to return preview content.



49
50
51
52
53
54
55
56
# File 'lib/wcc/contentful/services.rb', line 49

def preview_store
  @preview_store ||=
    WCC::Contentful::Store::Factory.new(
      configuration,
      :direct,
      :preview
    ).build(self)
end