Provider.pm 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # ================================
  2. # MOCK ME BABY ALL NIGHT LONG
  3. # ================================
  4. package Cpanel::iContact::Provider;
  5. use strict;
  6. use warnings;
  7. # Gawd, these curly quotes sure like to mojibake themselves
  8. sub new {
  9. my $class = shift;
  10. my $text_body = 'HOLY CRAP THE “AUTO-LAYOFF” THING TRIGGERED';
  11. my $html_body = "<p>$text_body</p>";
  12. my $self = {
  13. 'contact' => {
  14. 'XMPPUSERNAME' => 'mr_t@a-team.gov',
  15. 'XMPPPASSWORD' => 'bjBarracus#1',
  16. 'XMPPUSETLS' => 1,
  17. 'XMPPTLSVERIFY' => 1,
  18. 'XMPPCOMPONENTNAME' => 'jibber.jabber.org',
  19. 'IRCSERVER' => 'irc.bot.test',
  20. 'IRCPORT' => 666,
  21. 'IRCNICK' => 'DevilBot',
  22. },
  23. 'args' => {
  24. 'subject' => 'cPanel on “Drugs”',
  25. 'text_body' => \$text_body, #nutty, I know
  26. 'html_body' => \$html_body,
  27. 'to' => [ 'cronspam@dev.null' ],
  28. }
  29. };
  30. return bless $self, $class;
  31. }
  32. 1;