Sha256: afe5d29c35fb27f93a8c206f8f7a236a91b0e9e675b7febcf67e9ac5ed62bf10

Contents?: true

Size: 511 Bytes

Versions: 17

Compression:

Stored size: 511 Bytes

Contents

# frozen_string_literal: true

WCC::Contentful::Sys =
  Struct.new(
    :id,
    :type,
    :locale,
    :space,
    :created_at,
    :updated_at,
    :revision,
    :context
  ) do
    # rubocop:disable Lint/ConstantDefinitionInBlock
    ATTRIBUTES = %i[
      id
      type
      locale
      space
      created_at
      updated_at
      revision
      context
    ].freeze
    # rubocop:enable Lint/ConstantDefinitionInBlock

    undef []=
    ATTRIBUTES.each { |a| __send__(:undef_method, "#{a}=") }
  end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
wcc-contentful-1.7.2 lib/wcc/contentful/sys.rb
wcc-contentful-1.7.1 lib/wcc/contentful/sys.rb
wcc-contentful-1.7.0 lib/wcc/contentful/sys.rb
wcc-contentful-1.6.2 lib/wcc/contentful/sys.rb
wcc-contentful-1.6.1 lib/wcc/contentful/sys.rb
wcc-contentful-1.6.0 lib/wcc/contentful/sys.rb
wcc-contentful-1.5.1 lib/wcc/contentful/sys.rb
wcc-contentful-1.5.0 lib/wcc/contentful/sys.rb
wcc-contentful-1.5.0.rc1 lib/wcc/contentful/sys.rb
wcc-contentful-1.4.0 lib/wcc/contentful/sys.rb
wcc-contentful-1.4.0.rc3 lib/wcc/contentful/sys.rb
wcc-contentful-1.4.0.rc2 lib/wcc/contentful/sys.rb
wcc-contentful-1.3.2 lib/wcc/contentful/sys.rb
wcc-contentful-1.4.0.rc1 lib/wcc/contentful/sys.rb
wcc-contentful-1.3.1 lib/wcc/contentful/sys.rb
wcc-contentful-1.3.0 lib/wcc/contentful/sys.rb
wcc-contentful-1.2.1 lib/wcc/contentful/sys.rb