Sha256: 37d992d5a93aaa362ee812aafd5239556bd01c07e0cf54ea1af84383b8453133

Contents?: true

Size: 443 Bytes

Versions: 27

Compression:

Stored size: 443 Bytes

Contents

require_relative 'resource'
require_relative 'field'

module Contentful
  # Resource Class for Content Types
  # https://www.contentful.com/developers/documentation/content-delivery-api/#content-types
  class ContentType
    include Contentful::Resource
    include Contentful::Resource::SystemProperties

    property :name, :string
    property :description, :string
    property :fields, Field
    property :displayField, :string
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
contentful-1.2.2 lib/contentful/content_type.rb
contentful-1.2.1 lib/contentful/content_type.rb
contentful-1.2.0 lib/contentful/content_type.rb
contentful-1.1.1 lib/contentful/content_type.rb
contentful-1.1.0 lib/contentful/content_type.rb
contentful-1.0.2 lib/contentful/content_type.rb
contentful-1.0.1 lib/contentful/content_type.rb
contentful-1.0.0 lib/contentful/content_type.rb
contentful-0.12.0 lib/contentful/content_type.rb
contentful-0.11.0 lib/contentful/content_type.rb
contentful-0.10.0 lib/contentful/content_type.rb
contentful-0.9.0 lib/contentful/content_type.rb
contentful-0.8.0 lib/contentful/content_type.rb
contentful-0.7.0 lib/contentful/content_type.rb
contentful-0.6.0 lib/contentful/content_type.rb
contentful-0.5.0 lib/contentful/content_type.rb
contentful-0.4.0 lib/contentful/content_type.rb
contentful-0.3.5 lib/contentful/content_type.rb
contentful-0.3.4 lib/contentful/content_type.rb
contentful-0.3.3 lib/contentful/content_type.rb