aboutsummaryrefslogtreecommitdiffstats
path: root/gsxlib.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-03-31 10:01:51 +0300
committerFilipp Lepalaan <filipp@mac.com>2016-03-31 10:01:51 +0300
commit68c2b78f93af5a4f950d54a009951725cc3889cf (patch)
treeb47632a1f12057c6941626434e9fe706ed425d38 /gsxlib.php
parent1144dc5939c994388acaa5522f1e8ba2ce82477e (diff)
parentf405dc504b62e5b8157429fe36a1f96d83c97b61 (diff)
downloadgsxlib-master.tar.gz
gsxlib-master.tar.bz2
gsxlib-master.zip
Merge pull request #57 from eriktobben/masterHEADmaster
warrantyStatus method updated for May upgrade
Diffstat (limited to 'gsxlib.php')
-rw-r--r--gsxlib.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/gsxlib.php b/gsxlib.php
index 59e4281..0edc724 100644
--- a/gsxlib.php
+++ b/gsxlib.php
@@ -478,11 +478,12 @@ class GsxLib
/**
* A shortcut for checking warranty status of device
+ * UPDATE: Now includes shipTo as per GSX update May 2016.
*/
- public function warrantyStatus($serialNumber)
+ public function warrantyStatus($serialNumber, $ship_to)
{
if(!is_array($serialNumber)) {
- $serialNumber = array('serialNumber' => $serialNumber);
+ $serialNumber = array('serialNumber' => $serialNumber, 'shipTo' => $ship_to);
}
if(array_key_exists('alternateDeviceId', $serialNumber)) {