Sha256: 9a6a8ac19cea29afd279098737a4e53fe3f85cffafcc3b5451f6bb7b3a24841a

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 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 blog post.
    class BlogPosting < Mida::Vocabulary
      itemtype %r{http://schema.org/BlogPosting}i
      include_vocabulary Mida::SchemaOrg::Article
      include_vocabulary Mida::SchemaOrg::CreativeWork
      include_vocabulary Mida::SchemaOrg::Thing
    end

  end
end

Version data entries

3 entries across 2 versions & 1 rubygems

Version Path
mida_vocabulary-0.2.2 lib/mida_vocabulary/vocabularies/schemaorg/blogposting.rb
mida_vocabulary-0.2 lib/mida_vocabulary/vocabularies/schemaorg/blogposting.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/blogposting.rb