lib/openactive/models/schema/drug_strength.rb in openactive-0.2.2 vs lib/openactive/models/schema/drug_strength.rb in openactive-0.3.0

- old
+ new

@@ -6,10 +6,16 @@ # @return [String] def type "schema:DrugStrength" end + # @return [OpenActive::Models::Schema::AdministrativeArea,URI] + define_property :available_in, as: "availableIn", types: [ + "OpenActive::Models::Schema::AdministrativeArea", + "URI", + ] + # @return [String] define_property :strength_unit, as: "strengthUnit", types: [ "string", ] @@ -17,24 +23,18 @@ define_property :maximum_intake, as: "maximumIntake", types: [ "OpenActive::Models::Schema::MaximumDoseSchedule", "URI", ] - # @return [BigDecimal,nil] - define_property :strength_value, as: "strengthValue", types: [ - "Number", - "null", - ] - # @return [String] define_property :active_ingredient, as: "activeIngredient", types: [ "string", ] - # @return [OpenActive::Models::Schema::AdministrativeArea,URI] - define_property :available_in, as: "availableIn", types: [ - "OpenActive::Models::Schema::AdministrativeArea", - "URI", + # @return [BigDecimal,nil] + define_property :strength_value, as: "strengthValue", types: [ + "Number", + "null", ] end end end end