Class: Sirens::ItemsUpdated

Inherits:
Object
  • Object
show all
Defined in:
lib/models/list_model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#indicesObject (readonly)

Returns the value of attribute indices.



161
162
163
# File 'lib/models/list_model.rb', line 161

def indices
  @indices
end

#itemsObject (readonly)

Returns the value of attribute items.



161
162
163
# File 'lib/models/list_model.rb', line 161

def items
  @items
end

#listObject (readonly)

Returns the value of attribute list.



161
162
163
# File 'lib/models/list_model.rb', line 161

def list
  @list
end