Sha256: e25847d0cfc7b259de38e40c98f3ebc3f2d5ca5e85912130745f8e0a52fb5977
Contents?: true
Size: 749 Bytes
Versions: 1
Compression:
Stored size: 749 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :Reservation, 'mida_vocabulary/vocabularies/schemaorg/reservation' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' # A group of multiple reservations with common values for all sub-reservations. class ReservationPackage < Mida::Vocabulary itemtype %r{http://schema.org/ReservationPackage}i include_vocabulary Mida::SchemaOrg::Reservation include_vocabulary Mida::SchemaOrg::Thing # The individual reservations included in the package. Typically a repeated property. has_many 'subReservation' do extract Mida::SchemaOrg::Reservation extract Mida::DataType::Text end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mida_vocabulary-0.2.2 | lib/mida_vocabulary/vocabularies/schemaorg/reservationpackage.rb |