Closed shawr closed 9 years ago
EXECUTING CHECK REPLIES... D, [2014-05-19T13:53:30.390348 #31591] DEBUG -- : HTTPI GET request to soap.m4u.com.au (net_http) /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/httpi-2.1.0/lib/httpi/request.rb:59: warning: instance variable @ssl not initialized /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/httpi-2.1.0/lib/httpi/request.rb:108: warning: instance variable @on_body not initialized /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/httpi-2.1.0/lib/httpi/response.rb:50: warning: instance variable @body not initialized /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/wasabi-3.3.0/lib/wasabi/parser.rb:308: warning: instance variable @sections not initialized /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/wasabi-3.3.0/lib/wasabi/parser.rb:89:in `parse_url': warning: URI.unescape is obsolete /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/wasabi-3.3.0/lib/wasabi/parser.rb:90:in `parse_url': warning: URI.escape is obsolete /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/savon-2.5.1/lib/savon/builder.rb:147: warning: instance variable @namespace_identifier not initialized /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/akami-1.2.2/lib/akami/wsse.rb:58: warning: instance variable @signature not initialized /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/akami-1.2.2/lib/akami/wsse.rb:75: warning: instance variable @wsu_timestamp not initialized I, [2014-05-19T13:53:30.577312 #31591] INFO -- : SOAP request: https://soap.m4u.com.au I, [2014-05-19T13:53:30.577422 #31591] INFO -- : SOAPAction: "http://xml.m4u.com.au/2009/checkReplies", Content-Type: text/xml;charset=UTF-8, Content-Length: 471 D, [2014-05-19T13:53:30.577493 #31591] DEBUG -- : <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:api="http://xml.m4u.com.au/2009" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><api:checkReplies><api:authentication><api:userId>MessageUPtyLt587</api:userId><api:password></api:password></api:authentication><api:requestBody></api:requestBody></api:checkReplies></env:Body></env:Envelope> D, [2014-05-19T13:53:30.577765 #31591] DEBUG -- : HTTPI POST request to soap.m4u.com.au (net_http) /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/httpi-2.1.0/lib/httpi/request.rb:59: warning: instance variable @ssl not initialized /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/httpi-2.1.0/lib/httpi/request.rb:108: warning: instance variable @on_body not initialized I, [2014-05-19T13:53:30.817121 #31591] INFO -- : SOAP response (status 200) /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/httpi-2.1.0/lib/httpi/response.rb:50: warning: instance variable @body not initialized D, [2014-05-19T13:53:30.817242 #31591] DEBUG -- : <?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><checkRepliesResponse xmlns="http://xml.m4u.com.au/2009"> <result returned="1" remaining="0"> <replies> <reply format="SMS" uid="0" receiptId="137208531"> <origin>61417533586</origin> <received>2014-05-15T05:03:41Z</received> <content>Reply</content> </reply> </replies> </result> </checkRepliesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> /home/m4u-rob/.rvm/gems/ruby-1.9.3-p547/gems/savon-2.5.1/lib/savon/response.rb:98: warning: instance variable @nori not initialized Remaining replies: 0 Replies returned: 1 reply {:origin=>"61417533586", :received=>#<DateTime: 2014-05-15T05:03:41+00:00 ((2456793j,18221s,0n),+0s,2299161j)>, :content=>"Reply", :@format=>"SMS", :@uid=>"0", :@receipt_id=>"137208531"} example.rb:113:in `[]': can't convert Symbol into Integer (TypeError) from example.rb:113:in `block in check_and_confirm_replies' from example.rb:109:in `each' from example.rb:109:in `check_and_confirm_replies' from example.rb:170:in `<main>'
Fixed as part of the changes in version 0.6.0.