lib/openactive/models/schema/monetary_amount.rb in openactive-0.2.2 vs lib/openactive/models/schema/monetary_amount.rb in openactive-0.3.0
- old
+ new
@@ -6,17 +6,10 @@
# @return [String]
def type
"schema:MonetaryAmount"
end
- # @return [DateTime,Date,nil]
- define_property :valid_from, as: "validFrom", types: [
- "DateTime",
- "Date",
- "null",
- ]
-
# @return [BigDecimal,nil]
define_property :max_value, as: "maxValue", types: [
"Number",
"null",
]
@@ -25,15 +18,22 @@
define_property :min_value, as: "minValue", types: [
"Number",
"null",
]
- # @return [BigDecimal,OpenActive::Models::Schema::StructuredValue,Boolean,String,URI,nil]
+ # @return [DateTime,Date,nil]
+ define_property :valid_from, as: "validFrom", types: [
+ "DateTime",
+ "Date",
+ "null",
+ ]
+
+ # @return [String,BigDecimal,OpenActive::Models::Schema::StructuredValue,Boolean,URI,nil]
define_property :value, as: "value", types: [
+ "string",
"Number",
"OpenActive::Models::Schema::StructuredValue",
"bool",
- "string",
"URI",
"null",
]
# @return [String]