lib/openactive/models/schema/game.rb in openactive-0.1.2 vs lib/openactive/models/schema/game.rb in openactive-0.2.0

- old
+ new

@@ -6,34 +6,38 @@ # @return [String] def type "schema:Game" end - # @return [OpenActive::Models::Schema::QuantitativeValue] + # @return [OpenActive::Models::Schema::QuantitativeValue,URI] define_property :number_of_players, as: "numberOfPlayers", types: [ "OpenActive::Models::Schema::QuantitativeValue", + "URI", ] - # @return [OpenActive::Models::Schema::Thing] - define_property :quest, as: "quest", types: [ - "OpenActive::Models::Schema::Thing", - ] - - # @return [OpenActive::Models::Schema::Place,OpenActive::Models::Schema::PostalAddress,URI] + # @return [OpenActive::Models::Schema::PostalAddress,OpenActive::Models::Schema::Place,URI] define_property :game_location, as: "gameLocation", types: [ - "OpenActive::Models::Schema::Place", "OpenActive::Models::Schema::PostalAddress", + "OpenActive::Models::Schema::Place", "URI", ] - # @return [OpenActive::Models::Schema::Thing] + # @return [OpenActive::Models::Schema::Thing,URI] + define_property :game_item, as: "gameItem", types: [ + "OpenActive::Models::Schema::Thing", + "URI", + ] + + # @return [OpenActive::Models::Schema::Thing,URI] define_property :character_attribute, as: "characterAttribute", types: [ "OpenActive::Models::Schema::Thing", + "URI", ] - # @return [OpenActive::Models::Schema::Thing] - define_property :game_item, as: "gameItem", types: [ + # @return [OpenActive::Models::Schema::Thing,URI] + define_property :quest, as: "quest", types: [ "OpenActive::Models::Schema::Thing", + "URI", ] end end end end