Displaying 1 result from an estimated 1 matches for "sms_request".
Did you mean:
smb_request
2006 May 25
2
Help: How to write tests for a sms service interface
...sends an sms to my service number, the sms provider posts an xml doc to
an url specified by me.
I have implemented the processing method like this:
<code>
def process_notification
xml = XmlSimple.xml_in(@request.raw_post, ''ForceArray'' => false)
@params.merge! xml
sms_request = SmsboxRequest.new(:phonenumber => @params["sender"],
:operator => @params["operator"],
:service => @params["service"],
:message => @params[&qu...