Sha256: 453ba10c9caa5646e7ab759cb3263231971a875c3b997b805f41431a5c7a9008
Contents?: true
Size: 544 Bytes
Versions: 4
Compression:
Stored size: 544 Bytes
Contents
module Twilio module REST class Calls < ListResource def make(from, to, url) create :from => from, :to => to, :url => url end end class Call < InstanceResource def initialize(uri, client, params={}) super uri, client, params resource :recordings, :transcriptions end def redirect_to(url) update :url => url end def cancel update :status => 'canceled' end def hangup update :status => 'completed' end end end end
Version data entries
4 entries across 4 versions & 1 rubygems