File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -149,3 +149,5 @@ composer.phar
149149# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
150150# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
151151# composer.lock
152+ composer.lock
153+ index.php
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ Sample Code:
4545
4646require 'vendor/autoload.php';
4747
48- \ClickSend \Configuration::$username = 'YOUR USERNAME';
49- \ClickSend \Configuration::$key = 'YOUR API KEY';
48+ \ClickSendLib \Configuration::$username = 'YOUR USERNAME';
49+ \ClickSendLib \Configuration::$key = 'YOUR API KEY';
5050
5151$messages = [
5252 [
@@ -69,12 +69,12 @@ $messages = [
6969
7070try {
7171
72- $controller = new \ClickSend \Controllers\SMSController('your-username', 'your-api-key');
72+ $controller = new \ClickSendLib \Controllers\SMSController('your-username', 'your-api-key');
7373 $response = $controller->sendSms(['messages' => $messages]);
7474
7575 print_r($response);
7676
77- } catch(\ClickSend \APIException $e) {
77+ } catch(\ClickSendLib \APIException $e) {
7878
7979 print_r($e->getResponseBody());
8080
You can’t perform that action at this time.
0 commit comments