lib/openactive/models/schema/opening_hours_specification.rb in openactive-0.2.2 vs lib/openactive/models/schema/opening_hours_specification.rb in openactive-0.3.0
- old
+ new
@@ -6,30 +6,30 @@
# @return [String]
def type
"schema:OpeningHoursSpecification"
end
- # @return [DateTime,Date,nil]
- define_property :valid_from, as: "validFrom", types: [
- "DateTime",
- "Date",
- "null",
- ]
-
# @return [Time,nil]
- define_property :opens, as: "opens", types: [
+ define_property :closes, as: "closes", types: [
"Time",
"null",
]
# @return [OpenActive::Enums::Schema::DayOfWeek,nil]
define_property :day_of_week, as: "dayOfWeek", types: [
"OpenActive::Enums::Schema::DayOfWeek",
"null",
]
+ # @return [DateTime,Date,nil]
+ define_property :valid_from, as: "validFrom", types: [
+ "DateTime",
+ "Date",
+ "null",
+ ]
+
# @return [Time,nil]
- define_property :closes, as: "closes", types: [
+ define_property :opens, as: "opens", types: [
"Time",
"null",
]
# @return [DateTime,Date,nil]