lib/openactive/models/schema/rating.rb in openactive-0.2.2 vs lib/openactive/models/schema/rating.rb in openactive-0.3.0
- old
+ new
@@ -11,17 +11,10 @@
# @return [String]
define_property :review_aspect, as: "reviewAspect", types: [
"string",
]
- # @return [BigDecimal,String,nil]
- define_property :rating_value, as: "ratingValue", types: [
- "Number",
- "string",
- "null",
- ]
-
# @return [String,BigDecimal,nil]
define_property :worst_rating, as: "worstRating", types: [
"string",
"Number",
"null",
@@ -32,19 +25,26 @@
"OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [String]
- define_property :rating_explanation, as: "ratingExplanation", types: [
- "string",
- ]
-
# @return [String,BigDecimal,nil]
define_property :best_rating, as: "bestRating", types: [
"string",
"Number",
"null",
+ ]
+
+ # @return [BigDecimal,String,nil]
+ define_property :rating_value, as: "ratingValue", types: [
+ "Number",
+ "string",
+ "null",
+ ]
+
+ # @return [String]
+ define_property :rating_explanation, as: "ratingExplanation", types: [
+ "string",
]
end
end
end
end