Class: LWS::DigitalSignage::Layout::Category
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Layout::Category
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The layout category class
Instance Attribute Summary collapse
-
#description ⇒ String?
The description of the layout category.
-
#id ⇒ Integer
readonly
The (unique) ID of the layout category.
-
#layouts ⇒ Array<Layout>
The layouts that are associated with the category.
-
#name ⇒ String
The name of the layout category.
Attributes inherited from Generic::Model
#created_at, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#dig, #reload, #rollback, #save
Instance Attribute Details
#description ⇒ String?
Returns the description of the layout category.
574 |
# File 'lib/lws/apps/digital_signage.rb', line 574 attribute :description |
#id ⇒ Integer (readonly)
Returns the (unique) ID of the layout category.
570 |
# File 'lib/lws/apps/digital_signage.rb', line 570 attribute :id |
#layouts ⇒ Array<Layout>
Returns the layouts that are associated with the category.
580 581 |
# File 'lib/lws/apps/digital_signage.rb', line 580 has_many :layouts, class_name: "LWS::DigitalSignage::Layout", uri: "layout/categories/:category_id/layouts(/:id)" |
#name ⇒ String
Returns the name of the layout category.
585 |
# File 'lib/lws/apps/digital_signage.rb', line 585 attribute :name |