Sha256: a3a6974b93175858b8365a83ef069cc7235fd227ebe3be48e903f59ed065f946

Contents?: true

Size: 627 Bytes

Versions: 4

Compression:

Stored size: 627 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class Substance < ::OpenActive::Models::Schema::MedicalEntity
        # @!attribute type
        # @return [String]
        def type
          "schema:Substance"
        end

        # @return [OpenActive::Models::Schema::MaximumDoseSchedule,URI]
        define_property :maximum_intake, as: "maximumIntake", types: [
          "OpenActive::Models::Schema::MaximumDoseSchedule",
          "URI",
        ]

        # @return [String]
        define_property :active_ingredient, as: "activeIngredient", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/substance.rb
openactive-0.2.2 lib/openactive/models/schema/substance.rb
openactive-0.2.1 lib/openactive/models/schema/substance.rb
openactive-0.2.0 lib/openactive/models/schema/substance.rb