lib/openactive/models/schema/grant.rb in openactive-0.1.2 vs lib/openactive/models/schema/grant.rb in openactive-0.2.0
- old
+ new
@@ -6,12 +6,20 @@
# @return [String]
def type
"schema:Grant"
end
- # @return [OpenActive::Models::Schema::Thing]
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
+ define_property :sponsor, as: "sponsor", types: [
+ "OpenActive::Models::Schema::Person",
+ "OpenActive::Models::Schema::Organization",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::Thing,URI]
define_property :funded_item, as: "fundedItem", types: [
"OpenActive::Models::Schema::Thing",
+ "URI",
]
end
end
end
end