aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2011-05-04 11:32:49 +0300
committerFilipp Lepalaan <filipp@mac.com>2011-05-04 11:32:49 +0300
commitc7765c9b7a6ef6ca4e0baccae7896db4481f5f40 (patch)
tree44c8f75cf4f6cfe8ef6a978e6a42f6e619b50f87
parent72bd7dd166ac68949f4b0d8d8722deba276de00f (diff)
downloadgsxlib-c7765c9b7a6ef6ca4e0baccae7896db4481f5f40.tar.gz
gsxlib-c7765c9b7a6ef6ca4e0baccae7896db4481f5f40.tar.bz2
gsxlib-c7765c9b7a6ef6ca4e0baccae7896db4481f5f40.zip
README.md
-rw-r--r--README.md8
-rwxr-xr-xgsxcl1
2 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index a78dfb1..d1b86f0 100644
--- a/README.md
+++ b/README.md
@@ -17,8 +17,8 @@ Best illustrated with a simple example:
<?php
include 'gsxlib/gsxlib.php';
- $gsx = new GsxLib('your sold-to account', 'gsx user', 'password');
- $info = $gsx->warrantyStatus('serialnumber');
+ $gsx = new GsxLib($sold_to, $username, $password);
+ $info = $gsx->warrantyStatus($serialnumber);
echo $info->productDescription;
> MacBook Pro (15-inch 2.4/2.2GHz)
?>
@@ -27,8 +27,8 @@ If you're in the US, remember to set the fifth argument to the constructor to 'a
##gsxcl##
-The package includes a rudimentary command line client to the GSX API called gsxcl. Currently it can perform warranty checks
-and part lookups.
+The package includes a rudimentary command line client to the GSX API called gsxcl.
+Currently it can perform warranty checks and part lookups.
##License##
diff --git a/gsxcl b/gsxcl
index a2fc4e8..591b8d6 100755
--- a/gsxcl
+++ b/gsxcl
@@ -3,6 +3,7 @@
/**
* gsxlib/gsxcl
+ * A test package and command line client to the GSX library
* @package gsxlib
* @author Filipp Lepalaan <filipp@mcare.fi>
*/