diff options
| author | mo khan <mo@mokhan.ca> | 2015-11-24 21:31:24 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-11-24 21:31:24 -0700 |
| commit | d3a199da509516c2bf68a7791ff15b2924b97c9b (patch) | |
| tree | 11e6e48823b0964612f4faa08b5979e78f775cae | |
| parent | fd0e78b496b9026f51f38c68b2d47ea805bb0722 (diff) | |
add call centre problem.
| -rw-r--r-- | spec/call_centre_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/call_centre_spec.rb b/spec/call_centre_spec.rb new file mode 100644 index 0000000..e664d83 --- /dev/null +++ b/spec/call_centre_spec.rb @@ -0,0 +1,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 |
