Sha256: 4c16609edfea33521787df13b4ece084a214b5692ff1ac9ec002824b4570b30f
Contents?: true
Size: 489 Bytes
Versions: 2
Compression:
Stored size: 489 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :Product, 'mida_vocabulary/vocabularies/schemaorg/product' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' # A placeholder for multiple similar products of the same kind. class SomeProducts < Mida::Vocabulary itemtype %r{http://schema.org/SomeProducts}i include_vocabulary Mida::SchemaOrg::Product include_vocabulary Mida::SchemaOrg::Thing end end end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mida_vocabulary-0.2 | lib/mida_vocabulary/vocabularies/schemaorg/someproducts.rb |
mida_vocabulary-0.2 | resources/schema.org/vocabularies/someproducts.rb |