lib/smshelper/api/vianett.rb in smshelper-0.2.10 vs lib/smshelper/api/vianett.rb in smshelper-0.3.0
- old
+ new
@@ -14,10 +14,10 @@
options = {
:destinationaddr => message.recipient,
:message => message.text,
:sourceaddr => message.sender,
- :refno => '1',
+ # :refno => '1',
:msgid => uuid}
options = options.merge(@extra_options) unless @extra_options.nil?
resp = (post 'MT.ashx', :extra_query => options)
process_response_code(resp['ack']) ? (@sent_message_ids << uuid; uuid) : (raise ErrorDuringSend, "#{self.class.name} does not implement detailed errors")
end