Class: Sirens::ItemsUpdated
- Inherits:
-
Object
- Object
- Sirens::ItemsUpdated
- Defined in:
- lib/models/list_model.rb
Instance Attribute Summary collapse
-
#indices ⇒ Object
readonly
Returns the value of attribute indices.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#list ⇒ Object
readonly
Returns the value of attribute list.
Instance Method Summary collapse
-
#initialize(list:, indices:, items:) ⇒ ItemsUpdated
constructor
A new instance of ItemsUpdated.
Constructor Details
#initialize(list:, indices:, items:) ⇒ ItemsUpdated
Returns a new instance of ItemsUpdated.
155 156 157 158 159 |
# File 'lib/models/list_model.rb', line 155 def initialize(list:, indices:, items:) @list = list @indices = indices @items = items end |
Instance Attribute Details
#indices ⇒ Object (readonly)
Returns the value of attribute indices.
161 162 163 |
# File 'lib/models/list_model.rb', line 161 def indices @indices end |
#items ⇒ Object (readonly)
Returns the value of attribute items.
161 162 163 |
# File 'lib/models/list_model.rb', line 161 def items @items end |
#list ⇒ Object (readonly)
Returns the value of attribute list.
161 162 163 |
# File 'lib/models/list_model.rb', line 161 def list @list end |