Sha256: 9a736ca55035634c86c81f4154b798f590a5be6485b557c1dddacd9982e15790

Contents?: true

Size: 856 Bytes

Versions: 3

Compression:

Stored size: 856 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 bar or pub.
    class BarOrPub < Mida::Vocabulary
      itemtype %r{http://schema.org/BarOrPub}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/barorpub.rb
mida_vocabulary-0.2 lib/mida_vocabulary/vocabularies/schemaorg/barorpub.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/barorpub.rb