Sha256: 570c560af2aaf7c0f072a90a6ded5c7bf834e2aeea597e81dcca6b5b67083cae

Contents?: true

Size: 223 Bytes

Versions: 16

Compression:

Stored size: 223 Bytes

Contents

# frozen_string_literal: true

class WCC::Contentful::Model::SiteConfig < WCC::Contentful::Model
  def self.instance(preview = false)
    find_by(foreign_key: 'default', options: { include: 4, preview: preview })
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
wcc-contentful-app-1.2.0 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.1.2 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.1.1 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.1.0 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.8 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.7 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.6 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.5 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.4 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.3 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.2 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.1 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.0 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.0.pre.rc3 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.0.pre.rc2 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.0.0.pre.rc1 lib/wcc/contentful/model/site_config.rb