lib/mida_vocabulary/vocabularies/schemaorg/bakery.rb in mida_vocabulary-0.1.3 vs lib/mida_vocabulary/vocabularies/schemaorg/bakery.rb in mida_vocabulary-0.2
- old
+ new
@@ -1,23 +1,23 @@
require 'mida_vocabulary/vocabulary'
module Mida
module SchemaOrg
+ autoload :FoodEstablishment, 'mida_vocabulary/vocabularies/schemaorg/foodestablishment'
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
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'
- autoload :FoodEstablishment, 'mida_vocabulary/vocabularies/schemaorg/foodestablishment'
# A bakery.
class Bakery < Mida::Vocabulary
itemtype %r{http://schema.org/Bakery}i
+ include_vocabulary Mida::SchemaOrg::FoodEstablishment
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
+ include_vocabulary Mida::SchemaOrg::Organization
include_vocabulary Mida::SchemaOrg::Thing
include_vocabulary Mida::SchemaOrg::Place
- include_vocabulary Mida::SchemaOrg::Organization
- include_vocabulary Mida::SchemaOrg::LocalBusiness
- include_vocabulary Mida::SchemaOrg::FoodEstablishment
end
end
end