Skip to content

Commit

Permalink
Setting composer, cleaning up comments and adding user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
bmostafa87 committed Nov 21, 2017
1 parent 0e6d4c9 commit 53a52dc
Show file tree
Hide file tree
Showing 30 changed files with 21 additions and 43 deletions.
21 changes: 14 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
{
"name": "messagemedia/messages",
"name": "messagemedia/messages-sdk",
"type": "library",
"description": "The MessageMedia Messages API provides a number of endpoints for building powerful two-way messaging applications.",
"version": "1.0.0",
"keywords": ["Messages","API","SDK"],
"homepage": "https://apimatic.io",
"license": "MIT",
"homepage": "https://developers.messagemedia.com/",
"license": "Apache-2.0",
"authors": [
{
"name": "APIMatic SDK Generator",
"email": "support@apimatic.io",
"homepage": "https://apimatic.io",
"role": "API Tool"
"name": "MessageMedia Developers",
"email": "developers@messagemedia.com",
"homepage": "https://developers.messagemedia.com/",
"role": "Developer Relations"
}
],
"support": {
"email": "developers@messagemedia.com",
"issues": "https://github.com/messagemedia/messages-php-sdk/issues",
"wiki": "https://github.com/messagemedia/messages-php-sdk/wiki",
"source": "https://github.com/messagemedia/messages-php-sdk",
"docs": "https://developers.messagemedia.com/code"
},
"require": {
"php": ">=5.4.0",
"ext-curl": "*",
Expand Down
1 change: 0 additions & 1 deletion src/APIException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib;
Expand Down
1 change: 0 additions & 1 deletion src/APIHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib;
Expand Down
1 change: 0 additions & 1 deletion src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib;
Expand Down
1 change: 0 additions & 1 deletion src/Controllers/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Controllers;
Expand Down
5 changes: 2 additions & 3 deletions src/Controllers/DeliveryReportsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Controllers;
Expand Down Expand Up @@ -125,7 +124,7 @@ public function getCheckDeliveryReports()

//prepare headers
$_headers = array (
'user-agent' => 'messagemedia-messages',
'user-agent' => 'messagemedia-messages-php-sdk-1.0.0',
'Accept' => 'application/json'
);

Expand Down Expand Up @@ -195,7 +194,7 @@ public function createConfirmDeliveryReportsAsReceived(

//prepare headers
$_headers = array (
'user-agent' => 'messagemedia-messages',
'user-agent' => 'messagemedia-messages-php-sdk-1.0.0',
'Accept' => 'application/json',
'content-type' => 'application/json; charset=utf-8'
);
Expand Down
7 changes: 3 additions & 4 deletions src/Controllers/MessagesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Controllers;
Expand Down Expand Up @@ -83,7 +82,7 @@ public function updateCancelScheduledMessage(

//prepare headers
$_headers = array (
'user-agent' => 'messagemedia-messages',
'user-agent' => 'messagemedia-messages-php-sdk-1.0.0',
'Accept' => 'application/json',
'content-type' => 'application/json; charset=utf-8'
);
Expand Down Expand Up @@ -175,7 +174,7 @@ public function getMessageStatus(

//prepare headers
$_headers = array (
'user-agent' => 'messagemedia-messages',
'user-agent' => 'messagemedia-messages-php-sdk-1.0.0',
'Accept' => 'application/json'
);

Expand Down Expand Up @@ -318,7 +317,7 @@ public function createSendMessages(

//prepare headers
$_headers = array (
'user-agent' => 'messagemedia-messages',
'user-agent' => 'messagemedia-messages-php-sdk-1.0.0',
'Accept' => 'application/json',
'content-type' => 'application/json; charset=utf-8'
);
Expand Down
5 changes: 2 additions & 3 deletions src/Controllers/RepliesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Controllers;
Expand Down Expand Up @@ -79,7 +78,7 @@ public function createConfirmRepliesAsReceived(

//prepare headers
$_headers = array (
'user-agent' => 'messagemedia-messages',
'user-agent' => 'messagemedia-messages-php-sdk-1.0.0',
'Accept' => 'application/json',
'content-type' => 'application/json; charset=utf-8'
);
Expand Down Expand Up @@ -203,7 +202,7 @@ public function getCheckReplies()

//prepare headers
$_headers = array (
'user-agent' => 'messagemedia-messages',
'user-agent' => 'messagemedia-messages-php-sdk-1.0.0',
'Accept' => 'application/json'
);

Expand Down
1 change: 0 additions & 1 deletion src/Http/HttpCallBack.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Http;
Expand Down
1 change: 0 additions & 1 deletion src/Http/HttpContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Http;
Expand Down
1 change: 0 additions & 1 deletion src/Http/HttpMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Http;
Expand Down
1 change: 0 additions & 1 deletion src/Http/HttpRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Http;
Expand Down
1 change: 0 additions & 1 deletion src/Http/HttpResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Http;
Expand Down
1 change: 0 additions & 1 deletion src/MessageMediaMessagesClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib;
Expand Down
1 change: 0 additions & 1 deletion src/MessagesClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessagesLib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessagesLib;
Expand Down
1 change: 0 additions & 1 deletion src/Models/CancelScheduledMessageRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Models;
Expand Down
1 change: 0 additions & 1 deletion src/Models/CheckDeliveryReportsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Models;
Expand Down
1 change: 0 additions & 1 deletion src/Models/CheckRepliesResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Models;
Expand Down
1 change: 0 additions & 1 deletion src/Models/ConfirmDeliveryReportsAsReceivedRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Models;
Expand Down
1 change: 0 additions & 1 deletion src/Models/ConfirmDeliveryReportsAsReceivedRequest11.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Models;
Expand Down
1 change: 0 additions & 1 deletion src/Models/ConfirmRepliesAsReceivedRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Models;
Expand Down
1 change: 0 additions & 1 deletion src/Models/ConfirmRepliesAsReceivedRequest8.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Models;
Expand Down
1 change: 0 additions & 1 deletion src/Models/SendMessagesRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Models;
Expand Down
1 change: 0 additions & 1 deletion src/Models/SendMessagesResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Models;
Expand Down
1 change: 0 additions & 1 deletion tests/Controllers/DeliveryReportsControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Tests;
Expand Down
1 change: 0 additions & 1 deletion tests/Controllers/MessagesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Tests;
Expand Down
1 change: 0 additions & 1 deletion tests/Controllers/RepliesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Tests;
Expand Down
1 change: 0 additions & 1 deletion tests/HttpCallBackCatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Tests;
Expand Down
1 change: 0 additions & 1 deletion tests/TestHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

namespace MessageMediaMessagesLib\Tests;
Expand Down
1 change: 0 additions & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
* MessageMediaMessages
*
* This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ).
*/

/**
Expand Down

0 comments on commit 53a52dc

Please sign in to comment.