Sha256: 86760080929e97e966020c524f8d3c64185df3bcec60bb2d7f25abb47138b0e6

Contents?: true

Size: 709 Bytes

Versions: 4

Compression:

Stored size: 709 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'

    # A post office.
    class PostOffice < Mida::Vocabulary
      itemtype %r{http://schema.org/PostOffice}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

4 entries across 4 versions & 1 rubygems

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