Sha256: b4c8682247c55226a8257f63a3518b284d09613aa062dc8ee13f7142ff5b2383

Contents?: true

Size: 856 Bytes

Versions: 4

Compression:

Stored size: 856 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'
    autoload :FoodEstablishment, 'mida_vocabulary/vocabularies/schemaorg/foodestablishment'

    # A bar or pub.
    class BarOrPub < Mida::Vocabulary
      itemtype %r{http://schema.org/BarOrPub}i
      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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mida_vocabulary-0.1.3 lib/mida_vocabulary/vocabularies/schemaorg/barorpub.rb
mida_vocabulary-0.1.2 lib/mida_vocabulary/vocabularies/schemaorg/barorpub.rb
mida_vocabulary-0.1.1 lib/mida_vocabulary/vocabularies/schemaorg/barorpub.rb
mida_vocabulary-0.1 lib/mida_vocabulary/vocabularies/schemaorg/barorpub.rb