From 3d1f3071fab10845bb669429f731a76f9e5ec631 Mon Sep 17 00:00:00 2001 From: Prab Date: Mon, 3 Aug 2020 16:51:22 +1000 Subject: [PATCH] Used the correct property names for a call object Used 'rank' instead of 'level' to maintain uniformity with other portions of the code --- .../object_oriented_design/call_center/call_center.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solutions/object_oriented_design/call_center/call_center.ipynb b/solutions/object_oriented_design/call_center/call_center.ipynb index c540c6a6..33272905 100644 --- a/solutions/object_oriented_design/call_center/call_center.ipynb +++ b/solutions/object_oriented_design/call_center/call_center.ipynb @@ -110,7 +110,7 @@ " super(Operator, self).__init__(employee_id, name, Rank.OPERATOR)\n", "\n", " def escalate_call(self):\n", - " self.call.level = Rank.SUPERVISOR\n", + " self.call.rank = Rank.SUPERVISOR\n", " self._escalate_call()\n", "\n", "\n", @@ -120,7 +120,7 @@ " super(Operator, self).__init__(employee_id, name, Rank.SUPERVISOR)\n", "\n", " def escalate_call(self):\n", - " self.call.level = Rank.DIRECTOR\n", + " self.call.rank = Rank.DIRECTOR\n", " self._escalate_call()\n", "\n", "\n",