Sha256: e6ef739d26277a7aa2073c8a17395dc88a8ccb67f7777d55082818770f062ea1
Contents?: true
Size: 434 Bytes
Versions: 2
Compression:
Stored size: 434 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' # A book. class Book < Mida::Vocabulary itemtype %r{http://schema.org/Book}i include_vocabulary Mida::SchemaOrg::CreativeWork 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/book.rb |
mida_vocabulary-0.2 | resources/schema.org/vocabularies/book.rb |