diff --git a/composer.json b/composer.json index e1136b1..5ae2d73 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "kavenegar/php", "type": "library", "description": "A PHP wrapper for Kavenegar's API", + "version": "2.0.0-dev", "keywords": ["kavenegar", "sms", "api"], "homepage": "http://github.com/Kavenegar/kavenegar-php", "license": "MIT", diff --git a/src/KavenegarApi.php b/src/KavenegarApi.php index c5e8b47..6cba51c 100644 --- a/src/KavenegarApi.php +++ b/src/KavenegarApi.php @@ -12,7 +12,7 @@ class KavenegarApi { const APIPATH = "%s://api.kavenegar.com/v1/%s/%s/%s.json/"; - const VERSION = "1.2.2"; + const VERSION = "2.0.0"; private $apiKey = ""; private $insecure = false; public function __construct($apiKey, $insecure=false) @@ -189,7 +189,6 @@ public function Cancel($messageid) "messageid" => is_array($messageid) ? implode(",", $messageid) : $messageid ); return $this->execute($path,$params); - } public function Receive($linenumber, $isread = 0) @@ -294,4 +293,3 @@ public function CallMakeTTS($receptor, $message, $date = null, $localid = null) return $this->execute($path, $params); } } -?>