Sha256: be75c12085fbf2edd2071bfab75a664f41e2682b2b9686e3012a0fe22363b65f

Contents?: true

Size: 569 Bytes

Versions: 3

Compression:

Stored size: 569 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :CivicStructure, 'mida_vocabulary/vocabularies/schemaorg/civicstructure'
    autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'

    # A city hall.
    class CityHall < Mida::Vocabulary
      itemtype %r{http://schema.org/CityHall}i
      include_vocabulary Mida::SchemaOrg::CivicStructure
      include_vocabulary Mida::SchemaOrg::Place
      include_vocabulary Mida::SchemaOrg::Thing
    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/cityhall.rb
mida_vocabulary-0.2 lib/mida_vocabulary/vocabularies/schemaorg/cityhall.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/cityhall.rb