aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/escalations.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2014-03-23 15:38:23 +0200
committerFilipp Lepalaan <filipp@mac.com>2014-03-23 15:38:23 +0200
commit88fba7a73ce08388b6fbc53ec8cc4266404d26ad (patch)
tree21c4246386f51833ffc6b8b17e1db809afc1f809 /gsxws/escalations.py
parentea0019eec66ef3f896410afaedd514bb8c3eace3 (diff)
downloadpy-gsxws-88fba7a73ce08388b6fbc53ec8cc4266404d26ad.tar.gz
py-gsxws-88fba7a73ce08388b6fbc53ec8cc4266404d26ad.tar.bz2
py-gsxws-88fba7a73ce08388b6fbc53ec8cc4266404d26ad.zip
Added Context class and tests
Diffstat (limited to 'gsxws/escalations.py')
-rw-r--r--gsxws/escalations.py7
1 files changed, 7 insertions, 0 deletions
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
+