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

- old
+ new

@@ -6,26 +6,26 @@ # @return [String] def type "schema:BuyAction" end - # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] - define_property :seller, as: "seller", types: [ - "OpenActive::Models::Schema::Organization", - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::WarrantyPromise,URI] + define_property :warranty_promise, as: "warrantyPromise", types: [ + "OpenActive::Models::Schema::WarrantyPromise", "URI", ] # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] - define_property :vendor, as: "vendor", types: [ + define_property :seller, as: "seller", 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", + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] + define_property :vendor, as: "vendor", types: [ + "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::Organization", "URI", ] end end end