Sha256: 36c4abd62bd33d35408884bf702ea3d410f76987a925ead19b5a1458d1c7664a

Contents?: true

Size: 588 Bytes

Versions: 2

Compression:

Stored size: 588 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :Offer, 'mida_vocabulary/vocabularies/schemaorg/offer'
    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'

    # When a single product is associated with multiple offers (for example, the same pair of shoes is offered by different merchants), then AggregateOffer can be used.
    class AggregateOffer < Mida::Vocabulary
      itemtype %r{http://schema.org/AggregateOffer}i
      include_vocabulary Mida::SchemaOrg::Offer
      include_vocabulary Mida::SchemaOrg::Thing
    end

  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

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