From 700b87fba00263f759e4eb4a7367bcc238a0f398 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Wed, 23 Dec 2015 10:23:10 +0300 Subject: [PATCH] get retry protected --- lib/RetailCrm/Http/Client.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/RetailCrm/Http/Client.php b/lib/RetailCrm/Http/Client.php index c0814c4..5a3d50d 100644 --- a/lib/RetailCrm/Http/Client.php +++ b/lib/RetailCrm/Http/Client.php @@ -15,7 +15,7 @@ class Client protected $url; protected $defaultParameters; - public $retry; + protected $retry; public function __construct($url, array $defaultParameters = array()) { @@ -111,4 +111,9 @@ class Client return new ApiResponse($statusCode, $responseBody); } + + public function getRetry() + { + return $this->retry; + } }