Sha256: 50d14dfc4ebbd9b81ecb83da93392e525fd773af7b779ac932e30e33c03996e7
Contents?: true
Size: 693 Bytes
Versions: 4
Compression:
Stored size: 693 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place' autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization' autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness' # A hotel. class Hotel < Mida::Vocabulary itemtype %r{http://schema.org/Hotel}i include_vocabulary Mida::SchemaOrg::Thing include_vocabulary Mida::SchemaOrg::Place include_vocabulary Mida::SchemaOrg::Organization include_vocabulary Mida::SchemaOrg::LocalBusiness end end end
Version data entries
4 entries across 4 versions & 1 rubygems