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

- old
+ new

@@ -6,24 +6,27 @@ # @return [String] def type "schema:BuyAction" end - # @return [OpenActive::Models::Schema::WarrantyPromise] - define_property :warranty_promise, as: "warrantyPromise", types: [ - "OpenActive::Models::Schema::WarrantyPromise", - ] - - # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization] + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] define_property :seller, as: "seller", types: [ - "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", + "URI", ] - # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person] + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] define_property :vendor, as: "vendor", types: [ "OpenActive::Models::Schema::Organization", "OpenActive::Models::Schema::Person", + "URI", + ] + + # @return [OpenActive::Models::Schema::WarrantyPromise,URI] + define_property :warranty_promise, as: "warrantyPromise", types: [ + "OpenActive::Models::Schema::WarrantyPromise", + "URI", ] end end end end