[3pt] Team member #2 - Task 3 - Implement Methods in Genre & MusicAlbum Class
ClaudiaRojasSoto opened this issue · comments
- Implement methods:
-
add_item
method in theGenre
class- Should take an instance of the
Item
class as an input - Should add the input item to the collection of items
- Should add self as a property of the item object (by using the correct setter from the item object)
- Should take an instance of the
-
can_be_archived?()
in theMusicAlbum
class- Should override the method from the
parent
class - Should return true if the parent's method returns true AND if on_spotify equals true
- Otherwise, it should return false
- Should override the method from the