From adc655875bb806ebb822009f537e95021580c62f Mon Sep 17 00:00:00 2001 From: Araan Branco Date: Wed, 28 Oct 2015 15:11:41 -0200 Subject: [PATCH] Add docs --- lib/zenvia/base.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/zenvia/base.rb b/lib/zenvia/base.rb index d7aa7f5..2f4e9b7 100644 --- a/lib/zenvia/base.rb +++ b/lib/zenvia/base.rb @@ -8,6 +8,11 @@ module Base private + # params {String} - id_sms + # params {String} - msg + # params {Integer} - cel_phone + # Example send_to_zenvia("you-id-sms", "message-in-140-caracteres", "5511111111111") + def send_to_zenvia(id_sms, msg, cel_phone) Net::HTTP.post_form URI(ZENVIA_URL), {