Sha256: 713fb8f4d5a731834728255b40bff6a3e046b7c7eac593d33c8c09c643faca54

Contents?: true

Size: 301 Bytes

Versions: 12

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

class WCC::Contentful::Model::SiteConfig < WCC::Contentful::Model
  def self.instance(preview = false, locale: nil) # rubocop:disable Style/OptionalBooleanParameter
    find_by(foreign_key: 'default', options: { include: 4, preview: preview, locale: locale })
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
wcc-contentful-app-1.7.1 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.7.0 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.6.2 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.6.1 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.6.0 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.5.1 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.5.0 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.5.0.rc1 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.4.0 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.4.0.rc3 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.4.0.rc2 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.4.0.rc1 lib/wcc/contentful/model/site_config.rb