search for: forcearray

Displaying 1 result from an estimated 1 matches for "forcearray".

2006 May 25
2
Help: How to write tests for a sms service interface
...on a website that integrates sms services. When someone 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"],...