Class: LWS::DigitalSignage::Channel

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

Overview

The channel class

Defined Under Namespace

Classes: Group, Tag, TimeSchedule, TimeScheduleOverride

Instance Attribute Summary collapse

Attributes inherited from Generic::Model

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

Method Summary

Methods inherited from Generic::Model

#reload, #rollback, #save

Instance Attribute Details

#bandwidthInteger



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

attribute :bandwidth

#companyLWS::Auth::Company



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

belongs_to :company, class_name: "LWS::Auth::Company"

#company_idInteger



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

attribute :company_id

#daily_reboot_timeString



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

attribute :daily_reboot_time

#displayObject

:nocov:



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

belongs_to :display, class_name: "LWS::DigitalSignage::Display"

#display_idInteger



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

attribute :display_id

#groupsArray<Channel::Group>



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

has_many :groups, class_name: "LWS::DigitalSignage::Channel::Group"

#nameString



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

attribute :name

#orientation"normal", ...



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

attribute :orientation

#persistent_connectionBoolean



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

attribute :persistent_connection

#playersArray<Player>



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

has_many :players, class_name: "LWS::DigitalSignage::Player"

#remote_controlBoolean



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

attribute :remote_control

#tagsArray<Channel::Tag>



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

has_many :tags, class_name: "LWS::DigitalSignage::Channel::Tag"

#time_scheduleChannel::TimeSchedule



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

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

#time_schedule_idInteger



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

attribute :time_schedule_id

#time_schedule_overridesArray<Channel::TimeScheduleOverride>



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

has_many :time_schedule_overrides, class_name: "LWS::DigitalSignage::Channel::TimeScheduleOverride"

#time_zoneString



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

attribute :time_zone

#volumeInteger



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

attribute :volume