Sha256: 85661276e74884332f5bcadc8bc7254fa19dca6b961b4d514164cc766260b893

Contents?: true

Size: 996 Bytes

Versions: 1

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 :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"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/enums/schema/day_of_week.rb