lib/openactive/models/schema/opening_hours_specification.rb in openactive-0.1.2 vs lib/openactive/models/schema/opening_hours_specification.rb in openactive-0.2.0

- old
+ new

@@ -6,36 +6,36 @@ # @return [String] def type "schema:OpeningHoursSpecification" end - # @return [OpenActive::Enums::Schema::DayOfWeek,nil] - define_property :day_of_week, as: "dayOfWeek", types: [ - "OpenActive::Enums::Schema::DayOfWeek", + # @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 [Time,nil] - define_property :opens, as: "opens", types: [ - "Time", + # @return [OpenActive::Enums::Schema::DayOfWeek,nil] + define_property :day_of_week, as: "dayOfWeek", types: [ + "OpenActive::Enums::Schema::DayOfWeek", "null", ] - # @return [Date,DateTime,nil] - define_property :valid_through, as: "validThrough", types: [ - "Date", - "DateTime", + # @return [Time,nil] + define_property :closes, as: "closes", types: [ + "Time", "null", ] # @return [DateTime,Date,nil] - define_property :valid_from, as: "validFrom", types: [ + define_property :valid_through, as: "validThrough", types: [ "DateTime", "Date", "null", ] end