Class: Eztexting::Voice
Class Method Summary collapse
-
.broadcast(opts = {}) ⇒ Array
Use the Voicebroadcast feature of the API.
Methods inherited from Base
Class Method Details
.broadcast(opts = {}) ⇒ Array
Use the Voicebroadcast feature of the API
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/eztexting/voice.rb', line 7 def self.broadcast(opts={}) location = "/voicemessages/" = { :phonenumbers => phone_numbers, :soundsource => opts[:recording], :callerid => opts[:called_id] } response = self.do_post(location,) response_result = self.process(response) return self.processed_reponse(response_result,response) end |