require 'mida/vocabulary' module Mida module SchemaOrg autoload :Thing, 'mida/vocabularies/schemaorg/thing' autoload :Place, 'mida/vocabularies/schemaorg/place' autoload :Organization, 'mida/vocabularies/schemaorg/organization' autoload :LocalBusiness, 'mida/vocabularies/schemaorg/localbusiness' # A motorcycle repair shop. class MotorcycleRepair < Mida::Vocabulary itemtype %r{http://schema.org/MotorcycleRepair}i include_vocabulary Mida::SchemaOrg::Thing include_vocabulary Mida::SchemaOrg::Place include_vocabulary Mida::SchemaOrg::Organization include_vocabulary Mida::SchemaOrg::LocalBusiness end end end