summaryrefslogtreecommitdiffstats
path: root/examples/unwrapped
Commit message (Collapse)AuthorAgeFilesLines
* removed old testsAvi Goldman2016-06-223-109/+0
|
* Merged FAD-3148 into 2.xAvi Goldman2016-06-201-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * FAD-3148 basic non-functioning base class * FAD-3148 a bit more functionality in the base class * FAD-3148 added custom promise class and custom response class. Did good things to SparkPost class * Updated Transmission.php for new refactor, still WIP. Created Resource.php as a parent class for all future resources. * Removed test functions * Cleaned up Transmissions.php according to PSR-2, deleted more test code and comments. * added sync and aysnc, cleaned up code * added support for async/sync option * added support for async/sync option * Added interns to authors * simplified the request function * added comments * added user agent * added comments in SparkPostPromise * added comments in SparkPostException * added comments in SparkPostResponse * cleaning up test * updated composer.json and contributing files for testing * Ran php-cs-fixer * testing for sparkpost response class * updated to newer version of guzzle * updated to newer version of guzzle * Cleaned up getUrl and other functions * cleaned up constructor and overrode getCode with getResponse()->getStatusCode() * fixed up then method * cleaned up getBody * deleted old test * Wrote total coverage tests for SparkPost class * commented out setting up transmissions endpoint until merging with FAD-3146
* output more error information in webhooks exampleRichard Leland2016-05-231-1/+3
|
* Add example for unwrapped transmissions callRich Leland2016-05-201-0/+47
|
* Add php-cs-fixer as composer script and make initial fix-style runJason Rhodes2016-05-032-12/+14
| | | | | | * Add php-cs-fixer as composer script * Make initial fix-style run * Fix indentation on all files * Add editorconfig file
* Fix typos, update language in examplesRich Leland2016-05-032-18/+18
|
* added new exception type and unwrapped example for webhooksbeardyman2016-02-231-0/+25
|
* Updated template id in unwrapped exampleJordan Nornhold2015-10-151-1/+1
|
* replaced tabs with two spaces. normalized quotesbeardyman2015-10-031-11/+11
|
* Removed all tabs and replaced them with two spacesbeardyman2015-10-021-1/+1
|
* merged master and resolved conflictsbeardyman2015-10-021-2/+6
|\
| * updated scripts to make template and updated example files to read new ↵beardyman2015-09-251-4/+8
| | | | | | | | config file
* | Updated tests for new structurebeardyman2015-09-301-1/+2
| |
* | moved config setup and management back into the sparkpost objectbeardyman2015-09-281-3/+3
| |
* | Removed most static methods and adopted an instance based implementation. ↵beardyman2015-09-171-7/+4
| | | | | | | | Updated all examples and compatibility later to reflect these changes.
* | finished code updates/refactoring updated examples and began refactoring testsbeardyman2015-09-161-10/+17
|/
* added base object, test and examplemapril2015-08-211-0/+25