lib/openactive/models/schema/dated_money_specification.rb in openactive-0.2.2 vs lib/openactive/models/schema/dated_money_specification.rb in openactive-0.3.0
- old
+ new
@@ -6,18 +6,10 @@
# @return [String]
def type
"schema:DatedMoneySpecification"
end
- # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil]
- define_property :amount, as: "amount", types: [
- "Number",
- "OpenActive::Models::Schema::MonetaryAmount",
- "URI",
- "null",
- ]
-
# @return [DateTime,Date,nil]
define_property :start_date, as: "startDate", types: [
"DateTime",
"Date",
"null",
@@ -31,9 +23,17 @@
]
# @return [String]
define_property :currency, as: "currency", types: [
"string",
+ ]
+
+ # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil]
+ define_property :amount, as: "amount", types: [
+ "Number",
+ "OpenActive::Models::Schema::MonetaryAmount",
+ "URI",
+ "null",
]
end
end
end
end