From 88fba7a73ce08388b6fbc53ec8cc4266404d26ad Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sun, 23 Mar 2014 15:38:23 +0200 Subject: Added Context class and tests --- gsxws/escalations.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gsxws') diff --git a/gsxws/escalations.py b/gsxws/escalations.py index a60e2f4..1ad2706 100644 --- a/gsxws/escalations.py +++ b/gsxws/escalations.py @@ -88,3 +88,10 @@ class Escalation(GsxObject): def get_notes(self): return self.objects.escalationNotes.iterchildren() + +class Context(GsxObject): + def __init__(self, ctype, cid): + super(Context, self).__init__() + self.contextType = ctype + self.contextID = cid + -- cgit v1.2.3