Commit Graph

529 Commits

Author SHA1 Message Date
Tobias Nyholm
a4aba16061
Added a way to get attachments (#476)
* Added a way to get attachments

* Added some tests

* cs

* minor

* Removed declare_strict

* Typos

* Bugfixes

* Fixed bugs
2018-08-09 18:59:38 +02:00
Nyholm
0c70fa1f0e Make BaseModelTest abstract 2018-08-08 20:50:52 +01:00
Nyholm
6229b39aa3 cs 2018-08-08 20:50:52 +01:00
Nyholm
94d0406bcc FIXED A BUG! 2018-08-08 20:50:52 +01:00
Nyholm
0145ddd481 Added more tests 2018-08-08 20:50:52 +01:00
Nyholm
61c0f32dfb cs 2018-08-08 20:50:52 +01:00
Nyholm
17eafbf9c9 Added tests for our models 2018-08-08 20:50:52 +01:00
Nyholm
2337184f85 Added docs 2018-08-08 20:49:30 +01:00
Nyholm
860d49d9d2 Add endpoint to the create function 2018-08-08 20:49:30 +01:00
Nyholm
1835bc28d7 cs 2018-08-08 20:48:35 +01:00
Nyholm
1ed1c2557c Added test for webhook 2018-08-08 20:48:35 +01:00
Nyholm
6e209aaee2 Added Unsubscribe test 2018-08-08 20:48:35 +01:00
Nyholm
fa30639f99 Added complaint test 2018-08-08 20:48:35 +01:00
Nyholm
55547572aa Added bounce test 2018-08-08 20:48:35 +01:00
Nyholm
d6e48c6bc2 Added test for Message API 2018-08-08 20:48:35 +01:00
Nyholm
15bd5ae156 Added tests for Route 2018-08-08 20:48:35 +01:00
Nyholm
42503f72ce Added test for Domain API 2018-08-08 20:48:35 +01:00
Nyholm
afc8671eac We need both getApiMock and getApiInstance 2018-08-08 20:48:35 +01:00
Nyholm
75bab3016c cs 2018-08-08 20:48:35 +01:00
Nyholm
3d81db203e Add tests 2018-08-08 20:48:35 +01:00
Nyholm
bdcca2db0d Added more mock for tests 2018-08-08 20:48:35 +01:00
Nyholm
952198a5d7 Disable duplicate code warning 2018-08-04 21:22:47 +01:00
Tobias Nyholm
eb07576e6a
Ported MessageBuilder and BatchMessage (#472)
* Ported MessageBuilder and BatchMessage

* Added test for MessageBuilder

* Added test for BatchMessageTest

* cs

* cs

* Removed PHP7 code
2018-08-04 21:30:15 +02:00
David Garcia
48e5b8956b Suggest packages used on Dev (#440) 2018-08-04 15:18:41 +02:00
Radoje Albijanic
83c5f76f87 Cast campaign ID-s to string (#460)
* 413 error proper handle.

* Cast campaign id-s to string. Added tests for that.

* Style fixes
2018-04-09 18:51:09 +02:00
David Garcia
0bd1d8bfc5 Prepare change log for v2.5.0 2018-04-08 11:40:14 +01:00
Radoje Albijanic
e28065fe2e 413 error proper handle. 2018-04-08 11:16:19 +01:00
David Garcia
ef3dc6b8bf Prepare for 2.4.1 2018-02-01 22:58:55 +00:00
Quentin
869eff42e1 style: Fix coding style. 2018-02-01 22:42:12 +00:00
Quentin
84734cf758 refactor: Remove dead code. 2018-02-01 22:42:12 +00:00
Quentin
8e5420d78a chore(unsubscribe): Remove dead code. 2018-02-01 22:42:12 +00:00
Quentin
ef5336450e chore(unsubscribe): Add copyright. 2018-02-01 22:42:12 +00:00
Quentin
ce2bd4b0f1 feat(unsubscribe): Handle tags in Unsubscribe v3 api. 2018-02-01 22:42:12 +00:00
David Joos
83800d7486 Fix typo (#441)
sill > still
2018-01-29 17:18:02 +01:00
Tobias Nyholm
fdb22c0cf7
Removed paragraph referring to old versions (#425) 2017-12-08 08:54:20 +01:00
Tobias Nyholm
78b05dc58e
Apply fixes from StyleCI (#426) 2017-12-07 22:53:16 +01:00
Ángel Guzmán Maeso
b415076e45 Implement getTotalCount and add doc descriptions (#393)
* Implement getTotalCount and add doc descriptions

* Use camelCase and store in private var

* Removed extra calls to count()
2017-12-07 22:34:47 +01:00
Tobias Nyholm
2078321504
Make sure we do not instantiate an abstract class. (#424) 2017-12-07 22:05:43 +01:00
Tobias Nyholm
e86ca61027
Prepare for 2.4 (#423) 2017-12-07 21:54:34 +01:00
Eugene Storchevoy
2412efd1a2 cleanup_duplication: moved duplications to abstract class. 2017-12-06 22:09:58 +00:00
Mike Chacon
c228b2bd2c Fixed gramatical errors in README.md 2017-12-05 16:00:35 +00:00
François-Xavier de Guillebon
b73adaf60c Fixed stats retrieval (#384)
* [Stats] Fixed stats always empty

* Added tests
2017-12-01 21:10:21 +01:00
Tobias Nyholm
6dfd2b5a18
Update .travis.yml and fix style (#414)
* Update .travis.yml

* syntax fix

* Apply fixes from StyleCI (#415)

* Syntax fix
2017-12-01 20:55:29 +01:00
Ángel Guzmán Maeso
1fd4f222e6 Update POST domain/create with optional params (#399)
According to issue #397 the stmp params are optionals in the creation of a domain
2017-11-22 09:47:57 +01:00
SeanJA
fa02dd4fdb fixed typo (#411)
splitted => split
2017-11-22 09:37:38 +01:00
Hannes Magnússon
ce484ecbc8 Grammar typo (#413)
* Grammar typo

* Fixed style errors as reported by styleci
2017-11-22 09:37:04 +01:00
Alan Aasmaa
ede13bd24c Removed unnecessary new lines (#403)
It feels a bit cleaner to me like this.
2017-10-16 09:45:36 -07:00
Ángel Guzmán Maeso
5345115cde Fix typo in complaints method (#389)
Add () in call
2017-08-29 21:57:30 +02:00
Ángel Guzmán Maeso
d320567572 Fix small typo in docs (#388)
Fix response variable typo
2017-08-29 21:38:22 +02:00
Jeppler
253bce7789 Fix for deprecation message for sendMessage() (#383)
The `sendMessage()` method will be replaced by `Mailgun->messages()->send()` see issue #383
2017-08-16 18:37:06 +02:00