Sha256: 580065eb4a6f0881a7dc327ab4873b8a616549eda24644f413421773df69ba2a

Contents?: true

Size: 703 Bytes

Versions: 3

Compression:

Stored size: 703 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    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 pet store.
    class PetStore < Mida::Vocabulary
      itemtype %r{http://schema.org/PetStore}i
      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/petstore.rb
mida_vocabulary-0.2 lib/mida_vocabulary/vocabularies/schemaorg/petstore.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/petstore.rb