Commit Graph

61 Commits

Author SHA1 Message Date
Iain Cambridge
bdeadc1a01 Add tests to ensure exceptions are flung and fixed wrong variable name used 2014-05-13 16:12:32 +01:00
Iain Cambridge
35c65aaa57 Removed apiKey member since it's not used anywhere. 2014-05-13 14:59:11 +01:00
Iain Cambridge
34d8203262 Removed pointless try and catch. None of the functions threw an exception and it was just rethrowing. Also Exception didn't exist in that namespace 2014-05-13 14:58:12 +01:00
Iain Cambridge
33f3d27d7b Move fclose and unlink to before the return so they're actually called. 2014-05-13 14:57:23 +01:00
Iain Cambridge
502fac0b37 Fix fatal error in not finding exception.
Tried to throw MissingRequiredMIMEParameters which didn't exist in current namespace or added via use. Connection exceptions was included by MissingRequiredMIMEParameters is in messages exceptions so changed the added exception name to messages.

Exception message constant didn't exist. So added it.
2014-05-13 14:54:10 +01:00
Travis Swientek
72c10a5428 Added ability to disable SSL for testing against a Postbin or other endpoint. 2013-11-30 11:47:03 -08:00
Travis Swientek
07837600e6 Added new OptInHandler and tests. 2013-08-16 11:20:01 -07:00
Travis Swientek
685a7351d5 Refactor. Covered refactor in tests. 2013-08-13 12:26:34 -07:00
Travis Swientek
104bb72008 Refactor complete 2013-08-08 10:39:44 -07:00
Travis Swientek
1b3720a339 Removal of all classes. No OOP. :( 2013-08-07 17:41:14 -07:00
Travis Swientek
1ff4357810 Modified and renamed HTTPBroker to RestClient. 2013-08-07 16:22:19 -07:00