lib/openactive/models/schema/warranty_promise.rb in openactive-0.2.2 vs lib/openactive/models/schema/warranty_promise.rb in openactive-0.3.0
- old
+ new
@@ -6,19 +6,19 @@
# @return [String]
def type
"schema:WarrantyPromise"
end
- # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
- define_property :duration_of_warranty, as: "durationOfWarranty", types: [
- "OpenActive::Models::Schema::QuantitativeValue",
- "URI",
- ]
-
# @return [OpenActive::Enums::Schema::WarrantyScope,nil]
define_property :warranty_scope, as: "warrantyScope", types: [
"OpenActive::Enums::Schema::WarrantyScope",
"null",
+ ]
+
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :duration_of_warranty, as: "durationOfWarranty", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
]
end
end
end
end