summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* added retry exampleAvi Goldman2017-07-101-0/+33
|
* removed example-options.jsonAvi Goldman2017-01-0916-64/+15
|
* added attachment exampleAvi Goldman2017-01-072-0/+58
|
* added debug exampleAvi Goldman2017-01-041-0/+42
|
* ran fix styleAvi Goldman2017-01-044-11/+11
|
* Updating examples (#139)Avi Goldman2016-08-2512-4/+314
| | | | | | | | | | | | | | | | * added example of getting transmission by ID * updated example messages and added example with recipient list and template * fixed lib to work with recipient lists * fixed lib to work with recipient lists * added test covering recipient list * added message event example * added template examples
* removed examples/example-options.json2.0.0Avi Goldman2016-06-241-3/+0
|
* Rewrote docs and updated composer name (#123)Avi Goldman2016-06-241-0/+3
| | | | | | | | | | | | | | * made changes to readme.md and composer.json * switched bold to header * updated README.md * made review changes * small change to wording * another small wording change
* added \n to print_r in all examplesAvi Goldman2016-06-234-4/+4
|
* added slashes on errors in examplesAvi Goldman2016-06-234-4/+4
|
* fixed examples, and small detailsAvi Goldman2016-06-235-45/+61
|
* removed examples-options.jsonAvi Goldman2016-06-231-3/+0
|
* removed old testsAvi Goldman2016-06-2213-521/+0
|
* wrote examples for transmissionsAvi Goldman2016-06-224-0/+146
|
* parsed example-options.json and pull in autoload.phpAvi Goldman2016-06-221-0/+4
|
* set up options objectAvi Goldman2016-06-221-0/+3
|
* Merged FAD-3148 into 2.xAvi Goldman2016-06-203-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #111 from fishr01/hotfix-timeoutsRichard Leland2016-05-251-1/+1
|\ | | | | Added an option to overwrite the default 10 seconds timeout
| * Added a timeout option to overwrite the default 10 seconds built into the ↵Ryan2016-05-191-1/+1
| | | | | | | | default configuration
* | output more error information in webhooks exampleRichard Leland2016-05-231-1/+3
| |
* | Add example for unwrapped transmissions callRich Leland2016-05-201-0/+47
|/
* FAD-3045 add examples for cc/bccRich Leland2016-05-122-0/+120
|
* Add php-cs-fixer as composer script and make initial fix-style runJason Rhodes2016-05-0311-136/+145
| | | | | | * Add php-cs-fixer as composer script * Make initial fix-style run * Fix indentation on all files * Add editorconfig file
* Return extended exception dataRichard Leland2016-05-038-8/+24
| | | | | | | | | * Update examples to show available extra exception methods * Resolves #83 * Update 403s to pass back extended exception data Fixes #83
* Update rfc822 example. Fixes #94Rich Leland2016-05-031-1/+1
|
* Fix typos, update language in examplesRich Leland2016-05-0310-47/+47
|
* Update docs to use extended from formatRichard Leland2016-05-024-77/+89
|
* Update transmission examplesRich Leland2016-03-172-0/+35
| | | | | * Delete transmission * Additional options, including attachments on send
* 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-038-92/+92
|
* fixed an indent issuebeardyman2015-10-031-2/+2
|
* Removed all tabs and replaced them with two spacesbeardyman2015-10-029-9/+9
|
* merged master and resolved conflictsbeardyman2015-10-028-16/+45
|\
| * updated scripts to make template and updated example files to read new ↵beardyman2015-09-258-26/+56
| | | | | | | | 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
| |
* | Finished tests and docsbeardyman2015-09-251-2/+0
| |
* | updated examples (removed uneeded use statement) and updated documentation ↵beardyman2015-09-237-7/+0
| | | | | | | | for using HTTP Adapters.
* | Removed most static methods and adopted an instance based implementation. ↵beardyman2015-09-178-28/+24
| | | | | | | | Updated all examples and compatibility later to reflect these changes.
* | finished code updates/refactoring updated examples and began refactoring testsbeardyman2015-09-168-85/+114
| |
* | Removed echo linebeardyman2015-09-151-1/+0
| |
* | Refactored to use http adapter instead of guzzle directlybeardyman2015-09-151-3/+8
|/
* added base object, test and examplemapril2015-08-211-0/+25
|
* MA-1084 #time 1h Implemented better exception handling and added unitnornholdj2014-11-141-0/+0
| | | tests for said exception handling
* MA-1084 #time 3h updated to be usable with php 5.3nornholdj2014-11-127-48/+48
|
* fixed typonornholdj2014-11-101-1/+1
|
* Updated SparkPost References and updated docs and mappings to reflectnornholdj2014-11-107-18/+17
| | | updated config lists.
* MA-946 #time 20m updated test comments and updated SparkPost defaultnornholdj2014-11-041-2/+0
| | | hostname
* MA-946 #time 2h updated defaults, readme documentation, and fixednornholdj2014-11-036-61/+59
| | | formatting in examples
* MA-946 #time 3h 30m Revamped Transmission object to be stateless,nornholdj2014-10-319-193/+108
| | | updated tests and examples.
* MA-946 #time 10h Updated examples and tested. Updated Documentation. Setup ↵nornholdj2014-10-2810-0/+274
composer inclusion testing.