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), {