Sha256: 49d3f3dc412670d3b54a2526da5cd63aa677d21dc039949ef27408a60fe94bed

Contents?: true

Size: 747 Bytes

Versions: 3

Compression:

Stored size: 747 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 hostel - cheap accommodation, often in shared dormitories.
    class Hostel < Mida::Vocabulary
      itemtype %r{http://schema.org/Hostel}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/hostel.rb
mida_vocabulary-0.2 lib/mida_vocabulary/vocabularies/schemaorg/hostel.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/hostel.rb