Class: Sirens::ListChanged

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

Overview

Announcements

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(new_list:, old_list:) ⇒ ListChanged

Returns a new instance of ListChanged.



136
137
138
139
# File 'lib/models/list_model.rb', line 136

def initialize(new_list:, old_list:)
    @new_list = new_list
    @old_list = old_list
end

Instance Attribute Details

#new_listObject (readonly)

Returns the value of attribute new_list.



141
142
143
# File 'lib/models/list_model.rb', line 141

def new_list
  @new_list
end

#old_listObject (readonly)

Returns the value of attribute old_list.



141
142
143
# File 'lib/models/list_model.rb', line 141

def old_list
  @old_list
end