Sha256: b73fee2119a375c39fc5f8da4fa64fb64ecdae25b727b20cbcdae53b4c8a2de9
Contents?: true
Size: 1.1 KB
Versions: 6
Compression:
Stored size: 1.1 KB
Contents
module OpenActive module Models # This type is derived from https://schema.org/OpeningHoursSpecification, which means that any of this type's properties within schema.org may also be used. class OpeningHoursSpecification < ::OpenActive::Models::Schema::OpeningHoursSpecification # @!attribute type # @return [String] def type "OpeningHoursSpecification" end # @return [Time,nil] define_property :closes, as: "closes", types: [ "Time", "null", ] # @return [Array<OpenActive::Enums::Schema::DayOfWeek>,nil] define_property :day_of_week, as: "dayOfWeek", types: [ "OpenActive::Enums::Schema::DayOfWeek[]", "null", ] # @return [Time,nil] define_property :opens, as: "opens", types: [ "Time", "null", ] # @return [Date,nil] define_property :valid_from, as: "validFrom", types: [ "Date", "null", ] # @return [Date,nil] define_property :valid_through, as: "validThrough", types: [ "Date", "null", ] end end end
Version data entries
6 entries across 6 versions & 1 rubygems