lib/AfricasTalking/Voice.rb in africastalking-ruby-2.1.3 vs lib/AfricasTalking/Voice.rb in africastalking-ruby-2.1.4
- old
+ new
@@ -11,12 +11,13 @@
end
def call options
if validateParamsPresence?(options, ['from', 'to'])
post_body = {
- 'username' => @username,
- 'from' => options['from'],
- 'to' => options['to']
+ 'username' => @username,
+ 'from' => options['from'],
+ 'to' => options['to'],
+ 'clientRequestId' => options['clientRequestId']
}
#
response = sendNormalRequest(getVoiceHost() + "/call", post_body)
end
if(@response_code == HTTP_OK || @response_code == HTTP_CREATED)