lib/openactive/models/schema/exchange_rate_specification.rb in openactive-0.3.0 vs lib/openactive/models/schema/exchange_rate_specification.rb in openactive-0.4.0
- old
+ new
@@ -12,20 +12,20 @@
define_property :current_exchange_rate, as: "currentExchangeRate", types: [
"OpenActive::Models::Schema::UnitPriceSpecification",
"URI",
]
- # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil]
+ # @return [String]
+ define_property :currency, as: "currency", types: [
+ "string",
+ ]
+
+ # @return [OpenActive::Models::Schema::MonetaryAmount,BigDecimal,URI,nil]
define_property :exchange_rate_spread, as: "exchangeRateSpread", types: [
- "Number",
"OpenActive::Models::Schema::MonetaryAmount",
+ "Number",
"URI",
"null",
- ]
-
- # @return [String]
- define_property :currency, as: "currency", types: [
- "string",
]
end
end
end
end