lib/sms_broker.rb in sms_broker-1.0.2 vs lib/sms_broker.rb in sms_broker-1.0.3

- old
+ new

@@ -1,10 +1,11 @@ require 'nexmo' require 'compel' require 'twilio-ruby' require 'sms_broker/client/response/error' require 'sms_broker/client/response/success' +require 'sms_broker/client/response/voice_success' require 'sms_broker/configuration' require 'sms_broker/service' module SmsBroker extend Configuration @@ -15,7 +16,11 @@ Service.get(name) end def message(body) service.message(body) + end + + def voice_message(body) + service.voice_message(body) end end