Sha256: 4a988556b5eb11c6b2161e7cd5d5fa0ab60d0c74ddc2e524a73105e4fba80476

Contents?: true

Size: 272 Bytes

Versions: 4

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wcc-contentful-app-1.3.2 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.3.1 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.3.0 lib/wcc/contentful/model/site_config.rb
wcc-contentful-app-1.2.1 lib/wcc/contentful/model/site_config.rb