Sha256: ca8ba3b9876b8024d856ad556ac5ca55b73ab87f6ec4e30d7d901f362b4235e8

Contents?: true

Size: 443 Bytes

Versions: 6

Compression:

Stored size: 443 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Drug,URI]
        define_property :drug, as: "drug", types: [
          "OpenActive::Models::Schema::Drug",
          "URI",
        ]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/drug_class.rb
openactive-0.4.0 lib/openactive/models/schema/drug_class.rb
openactive-0.3.0 lib/openactive/models/schema/drug_class.rb
openactive-0.2.2 lib/openactive/models/schema/drug_class.rb
openactive-0.2.1 lib/openactive/models/schema/drug_class.rb
openactive-0.2.0 lib/openactive/models/schema/drug_class.rb