Module: Mollie::SMS::TestHelper

Defined in:
lib/mollie/sms/test_helper.rb

Overview

A collection of helpers for testing the delivery of SMS messages.

This includes:

Defined Under Namespace

Modules: Assertions, SMSExt

Constant Summary collapse

SUCCESS_BODY =
%{
<?xml version="1.0" ?>
<response>
    <item type="sms">
        <recipients>1</recipients>
        <success>true</success>
        <resultcode>10</resultcode>
        <resultmessage>Message successfully sent.</resultmessage>
    </item>
</response>}
FAILURE_BODY =
%{
<?xml version="1.0"?>
<response>
  <item type="sms">
    <recipients>1</recipients>
    <success>false</success>
    <resultcode>20</resultcode>
    <resultmessage>No username given.</resultmessage>
  </item>
</response>}