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