[3pt] Team member #1 - Task 3 - Implement Methods in Label & Book Class
ClaudiaRojasSoto opened this issue · comments
Claudia P. R. Soto commented
- Implement methods:
-
add_item
method in theLabel
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 theBook
class- Should override the method from the parent class
- Should return true if the parent's method returns true OR if
cover_state
equals to "bad" - Otherwise, it should return false