Sha256: 160f987e693ba9fcef1fd410688521ea8f45e72f2992734ff4965675097b4225

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

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

    # Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online.
    class Product < Mida::Vocabulary
      itemtype %r{http://schema.org/Product}i
      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/product.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/product.rb