Sha256: b7f959d807ce35f9a67877d51a838810ae6c477925b670323884282e22a8bda1
Contents?: true
Size: 771 Bytes
Versions: 4
Compression:
Stored size: 771 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework' # A list of items of any sort - for example, Top 10 Movies About Weathermen, or Top 100 Party Songs. Not to be confused with HTML lists, which are often used only for formatting. class ItemList < Mida::Vocabulary itemtype %r{http://schema.org/ItemList}i include_vocabulary Mida::SchemaOrg::Thing include_vocabulary Mida::SchemaOrg::CreativeWork # A single list item. has_many 'itemListElement' # Type of ordering (e.g. Ascending, Descending, Unordered). has_many 'itemListOrder' end end end
Version data entries
4 entries across 4 versions & 1 rubygems