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

- old
+ new

@@ -6,18 +6,19 @@ # @return [String] def type "schema:SellAction" end - # @return [OpenActive::Models::Schema::Person,URI] - define_property :buyer, as: "buyer", types: [ - "OpenActive::Models::Schema::Person", - "URI", - ] - # @return [OpenActive::Models::Schema::WarrantyPromise,URI] define_property :warranty_promise, as: "warrantyPromise", types: [ "OpenActive::Models::Schema::WarrantyPromise", + "URI", + ] + + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] + define_property :buyer, as: "buyer", types: [ + "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::Organization", "URI", ] end end end