Sha256: b57814569bc27d138f3b5b1690116de392eb22f89ac0e3f9021073e4b67483a1

Contents?: true

Size: 533 Bytes

Versions: 6

Compression:

Stored size: 533 Bytes

Contents

require 'mida/vocabulary'

module Mida
  module SchemaOrg

    autoload :Thing, 'mida/vocabularies/schemaorg/thing'
    autoload :CreativeWork, 'mida/vocabularies/schemaorg/creativework'
    autoload :Article, 'mida/vocabularies/schemaorg/article'

    # A news article
    class NewsArticle < Mida::Vocabulary
      itemtype %r{http://schema.org/NewsArticle}i
      include_vocabulary Mida::SchemaOrg::Thing
      include_vocabulary Mida::SchemaOrg::CreativeWork
      include_vocabulary Mida::SchemaOrg::Article
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mida-0.4.0 lib/mida/vocabularies/schemaorg/newsarticle.rb
mida-0.3.9 lib/mida/vocabularies/schemaorg/newsarticle.rb
mida-0.3.8 lib/mida/vocabularies/schemaorg/newsarticle.rb
mida-0.3.7 lib/mida/vocabularies/schemaorg/newsarticle.rb
mida-0.3.6 lib/mida/vocabularies/schemaorg/newsarticle.rb
mida-0.3.3 lib/mida/vocabularies/schemaorg/newsarticle.rb