lib/openactive/models/schema/aggregate_offer.rb in openactive-0.2.2 vs lib/openactive/models/schema/aggregate_offer.rb in openactive-0.3.0
- old
+ new
@@ -6,33 +6,33 @@
# @return [String]
def type
"schema:AggregateOffer"
end
+ # @return [String,BigDecimal,nil]
+ define_property :high_price, as: "highPrice", types: [
+ "string",
+ "Number",
+ "null",
+ ]
+
# @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI]
define_property :offers, as: "offers", types: [
"OpenActive::Models::Schema::Offer",
"OpenActive::Models::Schema::Demand",
"URI",
]
- # @return [BigDecimal,String,nil]
- define_property :high_price, as: "highPrice", types: [
- "Number",
+ # @return [String,BigDecimal,nil]
+ define_property :low_price, as: "lowPrice", types: [
"string",
+ "Number",
"null",
]
# @return [int,nil]
define_property :offer_count, as: "offerCount", types: [
"int",
- "null",
- ]
-
- # @return [String,BigDecimal,nil]
- define_property :low_price, as: "lowPrice", types: [
- "string",
- "Number",
"null",
]
end
end
end