lib/openactive/enums/schema/day_of_week.rb in openactive-0.3.0 vs lib/openactive/enums/schema/day_of_week.rb in openactive-0.4.0
- old
+ new
@@ -6,17 +6,17 @@
# The day of the week, e.g. used to specify to which day the opening hours of an OpeningHoursSpecification refer.
#
# Originally, URLs from [GoodRelations](http://purl.org/goodrelations/v1) were used (for [[Monday]], [[Tuesday]], [[Wednesday]], [[Thursday]], [[Friday]], [[Saturday]], [[Sunday]] plus a special entry for [[PublicHolidays]]); these have now been integrated directly into schema.org.
#
class DayOfWeek < TypesafeEnum::Base
+ new :Sunday, "https://schema.org/Sunday"
+ new :Monday, "https://schema.org/Monday"
new :Thursday, "https://schema.org/Thursday"
new :Saturday, "https://schema.org/Saturday"
- new :Tuesday, "https://schema.org/Tuesday"
new :Friday, "https://schema.org/Friday"
- new :Monday, "https://schema.org/Monday"
new :Wednesday, "https://schema.org/Wednesday"
new :PublicHolidays, "https://schema.org/PublicHolidays"
- new :Sunday, "https://schema.org/Sunday"
+ new :Tuesday, "https://schema.org/Tuesday"
end
end
end
end