Commit 279d7268 authored by Jose Ernesto Suarez's avatar Jose Ernesto Suarez

Starting the implementation of sendSMS

parent 617d0da2
......@@ -11,6 +11,27 @@ module Wedoops
initialize_client
end
def sendSMS
@logger.info("Calling thing...")
message = {
:user => nil,
:pass => nil,
:src => nil,
:dst => nil,
:msg => nil,
:date => nil,
:name => nil
}
begin
response = @client.call(:sendSMS) do
message(message)
end
rescue Exception => e
@logger.error("Error sending SMS: #{e.message}")
return nil
end
return response
end
private
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment