aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws/core.py')
-rw-r--r--gsxws/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gsxws/core.py b/gsxws/core.py
index 17f6556..4e18bdd 100644
--- a/gsxws/core.py
+++ b/gsxws/core.py
@@ -484,6 +484,9 @@ class GsxObject(object):
req = GsxRequest(**{'GsxObject': self})
return ET.tostring(req.data, encoding='utf-8')
+ def __str__(self):
+ return str(self._data)
+
class GsxRequestObject(GsxObject):
"The GSX-friendly representation of this GsxObject"