Sha256: a1297ae4e549a08ebb92198c2783547f1a96e4dfe868a99d55efff244622c017

Contents?: true

Size: 647 Bytes

Versions: 6

Compression:

Stored size: 647 Bytes

Contents

require 'mida/vocabulary'

module Mida
  module SchemaOrg

    autoload :Thing, 'mida/vocabularies/schemaorg/thing'
    autoload :Place, 'mida/vocabularies/schemaorg/place'
    autoload :Organization, 'mida/vocabularies/schemaorg/organization'
    autoload :LocalBusiness, 'mida/vocabularies/schemaorg/localbusiness'

    # A toystore.
    class ToyStore < Mida::Vocabulary
      itemtype %r{http://schema.org/ToyStore}i
      include_vocabulary Mida::SchemaOrg::Thing
      include_vocabulary Mida::SchemaOrg::Place
      include_vocabulary Mida::SchemaOrg::Organization
      include_vocabulary Mida::SchemaOrg::LocalBusiness
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mida-0.4.0 lib/mida/vocabularies/schemaorg/toystore.rb
mida-0.3.9 lib/mida/vocabularies/schemaorg/toystore.rb
mida-0.3.8 lib/mida/vocabularies/schemaorg/toystore.rb
mida-0.3.7 lib/mida/vocabularies/schemaorg/toystore.rb
mida-0.3.6 lib/mida/vocabularies/schemaorg/toystore.rb
mida-0.3.3 lib/mida/vocabularies/schemaorg/toystore.rb