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

Instance Attribute Details

#companyLWS::Auth::Company



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

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

#company_idFixnum



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

attribute :company_id

#created_atString (readonly)



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

attribute :created_at

#displayObject

:nocov:



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

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

#display_idFixnum



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

attribute :display_id

#groupsArray<Channel::Group>



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

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

#idFixnum (readonly)



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

attribute :id

#nameString



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

attribute :name

#orientation"normal", ...



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

attribute :orientation

#playersArray<Player>



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

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

#tagsArray<Channel::Tag>



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

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

#time_scheduleChannel::TimeSchedule



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

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

#time_schedule_idFixnum



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

attribute :time_schedule_id

#time_schedule_overridesArray<Channel::TimeScheduleOverride>



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

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

#time_zoneString



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

attribute :time_zone

#updated_atString (readonly)



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

attribute :updated_at