Sha256: 3f24266aa07ed9b8accc2e1f1d6309174c2c619b8d14da4bfe7dbf18a8c4fd01

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 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

1 entries across 1 versions & 1 rubygems

Version Path
contentful-0.1.0 lib/contentful/content_type.rb