Sha256: 01ea272a3e3d217217c1e4964fb516f90a6fa27050874d1a3b4f988f06d38324

Contents?: true

Size: 407 Bytes

Versions: 23

Compression:

Stored size: 407 Bytes

Contents

# frozen_string_literal: true

WCC::Contentful::Sys =
  Struct.new(
    :id,
    :type,
    :locale,
    :space,
    :created_at,
    :updated_at,
    :revision,
    :context
  ) do

    ATTRIBUTES = %i[
      id
      type
      locale
      space
      created_at
      updated_at
      revision
      context
    ].freeze

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
wcc-contentful-1.2.0 lib/wcc/contentful/sys.rb
wcc-contentful-1.1.2 lib/wcc/contentful/sys.rb
wcc-contentful-1.1.1 lib/wcc/contentful/sys.rb
wcc-contentful-1.1.0 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.8 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.7 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.6 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.5 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.4 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.3 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.2 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.1 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.0 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.0.pre.rc3 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.0.pre.rc2 lib/wcc/contentful/sys.rb
wcc-contentful-1.0.0.pre.rc1 lib/wcc/contentful/sys.rb
wcc-contentful-0.4.0.pre.rc lib/wcc/contentful/sys.rb
wcc-contentful-0.4.0.pre.beta lib/wcc/contentful/sys.rb
wcc-contentful-0.4.0.pre.alpha lib/wcc/contentful/sys.rb
wcc-contentful-0.3.0 lib/wcc/contentful/sys.rb