Sha256: b21741d9f441f6ec9c9c2cf25a9e0defb3915b304cf5e39796f58835646d6de9

Contents?: true

Size: 886 Bytes

Versions: 3

Compression:

Stored size: 886 Bytes

Contents

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'

    # A fast-food restaurant.
    class FastFoodRestaurant < Mida::Vocabulary
      itemtype %r{http://schema.org/FastFoodRestaurant}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
    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/fastfoodrestaurant.rb
mida_vocabulary-0.2 lib/mida_vocabulary/vocabularies/schemaorg/fastfoodrestaurant.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/fastfoodrestaurant.rb