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

- old
+ new

@@ -6,15 +6,16 @@ # @return [String] def type "schema:Recommendation" end - # @return [OpenActive::Enums::Schema::PhysicalActivityCategory,String,URI,OpenActive::Models::Schema::Thing,nil] + # @return [URI,String,OpenActive::Enums::Schema::PhysicalActivityCategory,OpenActive::Models::Schema::Thing,OpenActive::Models::Schema::CategoryCode,nil] define_property :category, as: "category", types: [ - "OpenActive::Enums::Schema::PhysicalActivityCategory", - "string", "URI", + "string", + "OpenActive::Enums::Schema::PhysicalActivityCategory", "OpenActive::Models::Schema::Thing", + "OpenActive::Models::Schema::CategoryCode", "null", ] end end end