summaryrefslogtreecommitdiff
path: root/spec/call_centre_spec.rb
blob: e664d83dac50cd764c6e2b9732bd5351eaa7f6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
=begin
Imagine you have a call centre with three levels of employees: respondent, manager, and director.
An incoming telephone call must be first allocated to a respondent who is free. 
If the respondent can't handle the call, he or she must escalate the call to a manager. 
If the manager is not free or not able to handle it, then the call should be escalated to a director.
Design the classes and data structures for this problem. Implement a method "dispatch_call()" which
assigns a call to the first available employee.
=end

describe "call centre" do
end