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.
-
#layout_ids ⇒ Array<Integer>
The IDs of the layouts that are associated with the category.
-
#layouts ⇒ Array<Layout>
The layouts that are associated with the category.
-
#name ⇒ String
The name of the layout category.
-
#translated_name ⇒ String
The translated name of the layout category.
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
#description ⇒ String?
Returns the description of the layout category.
710 |
# File 'lib/lws/apps/digital_signage.rb', line 710 attribute :description |
#layout_ids ⇒ Array<Integer>
Returns the IDs of the layouts that are associated with the category.
715 |
# File 'lib/lws/apps/digital_signage.rb', line 715 attribute :layout_ids |
#layouts ⇒ Array<Layout>
Returns the layouts that are associated with the category.
721 722 |
# File 'lib/lws/apps/digital_signage.rb', line 721 has_many :layouts, class_name: "LWS::DigitalSignage::Layout", uri: "layout/categories/:category_id/layouts(/:id)" |
#name ⇒ String
Returns the name of the layout category.
726 |
# File 'lib/lws/apps/digital_signage.rb', line 726 attribute :name |
#translated_name ⇒ String
Returns the translated name of the layout category.
730 |
# File 'lib/lws/apps/digital_signage.rb', line 730 attribute :name |