aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/products.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-05-13 09:38:30 +0300
committerFilipp Lepalaan <f@230.to>2013-05-13 09:38:30 +0300
commitead12feab2a148e67b7cdbbfb8beea7aab56dd01 (patch)
treec649b5d4ac6b840719a27e05a630982da07b1a71 /gsxws/products.py
parent607b47888dd125f0710f95df6aff7894952d76c3 (diff)
downloadpy-gsxws-ead12feab2a148e67b7cdbbfb8beea7aab56dd01.tar.gz
py-gsxws-ead12feab2a148e67b7cdbbfb8beea7aab56dd01.tar.bz2
py-gsxws-ead12feab2a148e67b7cdbbfb8beea7aab56dd01.zip
Some fixes
Diffstat (limited to 'gsxws/products.py')
-rw-r--r--gsxws/products.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gsxws/products.py b/gsxws/products.py
index 176f420..a82f9d4 100644
--- a/gsxws/products.py
+++ b/gsxws/products.py
@@ -19,7 +19,7 @@ class Product(GsxObject):
"""
Returns the model description of this Product
- >>> Product(serialNumber='DGKFL06JDHJP').model().configDescription
+ >>> Product('DGKFL06JDHJP').model().configDescription
'iMac (27-inch, Mid 2011)'
"""
result = self._submit("productModelRequest", "FetchProductModel")
@@ -78,7 +78,7 @@ class Product(GsxObject):
except Exception, e:
raise GsxError("Failed to fetch product image: %s" % e)
- def get_activation(self):
+ def activation(self):
"""
The Fetch iOS Activation Details API is used to
fetch activation details of iOS Devices.