Sha256: c856adc277f5b4de30e205f56cdd20b3f640b16c2ee7dc78bf8eb8cfdf5a6530

Contents?: true

Size: 681 Bytes

Versions: 2

Compression:

Stored size: 681 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :MedicalTherapy, 'mida_vocabulary/vocabularies/schemaorg/medicaltherapy'
    autoload :MedicalEntity, 'mida_vocabulary/vocabularies/schemaorg/medicalentity'
    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'

    # A chemical or biologic substance, used as a medical therapy, that has a physiological effect on an organism.
    class Drug < Mida::Vocabulary
      itemtype %r{http://schema.org/Drug}i
      include_vocabulary Mida::SchemaOrg::MedicalTherapy
      include_vocabulary Mida::SchemaOrg::MedicalEntity
      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/drug.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/drug.rb