Sha256: 01dec6e08a442a1eb5f17b360a1919d155fd539ddfd51431e4b6e263e7195b0e
Contents?: true
Size: 886 Bytes
Versions: 1
Compression:
Stored size: 886 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 technical article - Example: How-to (task) topics, step-by-step, procedural troubleshooting, specifications, etc. class TechArticle < Mida::Vocabulary itemtype %r{http://schema.org/TechArticle}i include_vocabulary Mida::SchemaOrg::Article include_vocabulary Mida::SchemaOrg::CreativeWork include_vocabulary Mida::SchemaOrg::Thing # Prerequisites needed to fulfill steps in article. has_many 'dependencies' # Proficiency needed for this content; expected values: 'Beginner', 'Expert'. has_many 'proficiencyLevel' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mida_vocabulary-0.2.2 | lib/mida_vocabulary/vocabularies/schemaorg/techarticle.rb |