Class: CommandTower::Messaging::Preferences::CatalogResult
- Inherits:
-
Data
- Object
- Data
- CommandTower::Messaging::Preferences::CatalogResult
- Defined in:
- app/services/command_tower/messaging/preferences/catalog_result.rb
Instance Attribute Summary collapse
-
#categories ⇒ Object
readonly
Returns the value of attribute categories.
Class Method Summary collapse
Instance Attribute Details
#categories ⇒ Object (readonly)
Returns the value of attribute categories
6 7 8 |
# File 'app/services/command_tower/messaging/preferences/catalog_result.rb', line 6 def categories @categories end |
Class Method Details
.build(categories:) ⇒ Object
7 8 9 |
# File 'app/services/command_tower/messaging/preferences/catalog_result.rb', line 7 def self.build(categories:) new(categories: Array(categories).freeze).freeze end |