Sha256: 66ae1d0b79f5122ca027df460ad518fb80b836fd7828e921631099d1f88fba82
Contents?: true
Size: 996 Bytes
Versions: 2
Compression:
Stored size: 996 Bytes
Contents
require 'typesafe_enum' module OpenActive module Enums module Schema # 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 :Friday, "https://schema.org/Friday" new :Wednesday, "https://schema.org/Wednesday" new :PublicHolidays, "https://schema.org/PublicHolidays" new :Tuesday, "https://schema.org/Tuesday" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.5.0 | lib/openactive/enums/schema/day_of_week.rb |
openactive-0.4.0 | lib/openactive/enums/schema/day_of_week.rb |