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
-
#created_at ⇒ String
readonly
The timestamp of when the layout category was created.
-
#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.
-
#updated_at ⇒ String
readonly
The timestamp of when the layout category was last updated.
Attributes inherited from Generic::Model
Method Summary
Methods inherited from Generic::Model
Instance Attribute Details
#created_at ⇒ String (readonly)
Returns the timestamp of when the layout category was created.
597 |
# File 'lib/lws/apps/digital_signage.rb', line 597 attribute :created_at |
#description ⇒ String?
Returns the description of the layout category.
582 |
# File 'lib/lws/apps/digital_signage.rb', line 582 attribute :description |
#id ⇒ Integer (readonly)
Returns the (unique) ID of the layout category.
578 |
# File 'lib/lws/apps/digital_signage.rb', line 578 attribute :id |
#layouts ⇒ Array<Layout>
Returns the layouts that are associated with the category.
588 589 |
# File 'lib/lws/apps/digital_signage.rb', line 588 has_many :layouts, class_name: "LWS::DigitalSignage::Layout", uri: "layout/categories/:category_id/layouts(/:id)" |
#name ⇒ String
Returns the name of the layout category.
593 |
# File 'lib/lws/apps/digital_signage.rb', line 593 attribute :name |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the layout category was last updated.
601 |
# File 'lib/lws/apps/digital_signage.rb', line 601 attribute :updated_at |