diff options
author | Filipp Lepalaan <filipp@mac.com> | 2014-03-23 15:38:23 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2014-03-23 15:38:23 +0200 |
commit | 88fba7a73ce08388b6fbc53ec8cc4266404d26ad (patch) | |
tree | 21c4246386f51833ffc6b8b17e1db809afc1f809 /gsxws | |
parent | ea0019eec66ef3f896410afaedd514bb8c3eace3 (diff) | |
download | py-gsxws-88fba7a73ce08388b6fbc53ec8cc4266404d26ad.tar.gz py-gsxws-88fba7a73ce08388b6fbc53ec8cc4266404d26ad.tar.bz2 py-gsxws-88fba7a73ce08388b6fbc53ec8cc4266404d26ad.zip |
Added Context class and tests
Diffstat (limited to 'gsxws')
-rw-r--r-- | gsxws/escalations.py | 7 |
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 + |