Sha256: 8437d285720eb1f4fdf98d17da5ee1f3199e6017909d089528975725b8ea2c83
Contents?: true
Size: 446 Bytes
Versions: 2
Compression:
Stored size: 446 Bytes
Contents
module Ucpaas # call client api module Call def dull_call(app_id, from_number, to_number, options = {}) client = find_or_create_client(app_id, from_number) client_number = client['clientNumber'] data = { appId: app_id, fromClient: client_number, to: to_number }.merge(options) response = post('/Calls/callBack', data) response['resp']['callback'] end private end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ucpaas-0.1.3 | lib/ucpaas/call.rb |
ucpaas-0.1.2 | lib/ucpaas/call.rb |