Class: LWS::DigitalSignage::Channel::TimeSchedule::Day

Inherits:
Generic::Model
  • Object
show all
Defined in:
lib/lws/apps/digital_signage.rb

Overview

Note:

This class is only used within the context of the LWS::DigitalSignage::Channel::TimeSchedule class.

The channel time schedule day class

Instance Attribute Summary collapse

Attributes inherited from Generic::Model

#created_at, #id, #updated_at, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#deep_dup, #dig, #reload, #rollback, #save

Instance Attribute Details

#dayInteger

Returns the ID of the day of the channel time schedule (0 = Sunday, 1 = Monday, …, 6 = Saturday).

Returns:

  • (Integer)

    the ID of the day of the channel time schedule (0 = Sunday, 1 = Monday, …, 6 = Saturday)



286
# File 'lib/lws/apps/digital_signage.rb', line 286

attribute :day

#shutdownString

Returns the shutdown time of the channel.

Returns:

  • (String)

    the shutdown time of the channel



290
# File 'lib/lws/apps/digital_signage.rb', line 290

attribute :shutdown

#time_scheduleChannel::TimeSchedule

Returns the time schedule the day belongs to.

Returns:



294
295
# File 'lib/lws/apps/digital_signage.rb', line 294

belongs_to :time_schedule, class_name: "LWS::DigitalSignage::Channel::TimeSchedule",
uri: "channel/time_schedules/:id"

#time_schedule_idInteger

Returns the ID of the time schedule the day belongs to.

Returns:

  • (Integer)

    the ID of the time schedule the day belongs to



299
# File 'lib/lws/apps/digital_signage.rb', line 299

attribute :time_schedule_id

#wakeupString

Returns the wakeup time of the channel.

Returns:

  • (String)

    the wakeup time of the channel



303
# File 'lib/lws/apps/digital_signage.rb', line 303

attribute :wakeup