Sha256: d41e6291d2f3a9b8a0b576b252b7d2e6f9b2aedddc0c947aacb871582e5d7684

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 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 hotel.
    class Hotel < Mida::Vocabulary
      itemtype %r{http://schema.org/Hotel}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/hotel.rb
mida_vocabulary-0.2 lib/mida_vocabulary/vocabularies/schemaorg/hotel.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/hotel.rb