lib/openactive/models/schema/rating.rb in openactive-0.3.0 vs lib/openactive/models/schema/rating.rb in openactive-0.4.0
- old
+ new
@@ -7,44 +7,44 @@
def type
"schema:Rating"
end
# @return [String]
- define_property :review_aspect, as: "reviewAspect", types: [
+ define_property :rating_explanation, as: "ratingExplanation", types: [
"string",
]
- # @return [String,BigDecimal,nil]
- define_property :worst_rating, as: "worstRating", types: [
- "string",
- "Number",
- "null",
- ]
-
# @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
define_property :author, as: "author", types: [
"OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [String,BigDecimal,nil]
- define_property :best_rating, as: "bestRating", types: [
- "string",
+ # @return [BigDecimal,String,nil]
+ define_property :rating_value, as: "ratingValue", types: [
"Number",
+ "string",
"null",
]
+ # @return [String]
+ define_property :review_aspect, as: "reviewAspect", types: [
+ "string",
+ ]
+
# @return [BigDecimal,String,nil]
- define_property :rating_value, as: "ratingValue", types: [
+ define_property :worst_rating, as: "worstRating", types: [
"Number",
"string",
"null",
]
- # @return [String]
- define_property :rating_explanation, as: "ratingExplanation", types: [
+ # @return [BigDecimal,String,nil]
+ define_property :best_rating, as: "bestRating", types: [
+ "Number",
"string",
+ "null",
]
end
end
end
end