Sha256: 9e4499898b978174c6d9c229bea9ef95bcbad58a33466102f3d67a347fe18496

Contents?: true

Size: 869 Bytes

Versions: 2

Compression:

Stored size: 869 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'
    autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
    autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'

    # A fire station. With firemen.
    class FireStation < Mida::Vocabulary
      itemtype %r{http://schema.org/FireStation}i
      include_vocabulary Mida::SchemaOrg::CivicStructure
      include_vocabulary Mida::SchemaOrg::Place
      include_vocabulary Mida::SchemaOrg::Thing
      include_vocabulary Mida::SchemaOrg::LocalBusiness
      include_vocabulary Mida::SchemaOrg::Organization
    end

  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
mida_vocabulary-0.2 lib/mida_vocabulary/vocabularies/schemaorg/firestation.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/firestation.rb