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

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

Overview

The channel time schedule class

Defined Under Namespace

Classes: Day

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

#channelsArray<Channel>



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

has_many :channels, class_name: "LWS::DigitalSignage::Channel",
uri: "channel/time_schedules/:time_schedule_id/channels(/:id)"

#companyLWS::Auth::Company



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

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

#company_idInteger



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

attribute :company_id

#daysArray<Channel::TimeSchedule::Day>



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

has_many :days, class_name: "LWS::DigitalSignage::Channel::TimeSchedule::Day",
uri: "channel/time_schedules/:time_schedule_id/days(/:id)"

#nameString



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

attribute :name