Sha256: 7ec721e8860bb82c0f955bfb6a2af256aebb5bbdeff55c1762330f5b226219e6
Contents?: true
Size: 651 Bytes
Versions: 3
Compression:
Stored size: 651 Bytes
Contents
module Twilio module REST class Calls < ListResource def initialize(path, client) super resource :feedback_summary end def make(from, to, url) create :from => from, :to => to, :url => url end end class Call < InstanceResource def initialize(path, client, params={}) super path, client, params resource :recordings, :notifications, :feedback 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
twilio-ruby-3.12.3 | lib/twilio-ruby/rest/calls.rb |
twilio-ruby-3.12.2 | lib/twilio-ruby/rest/calls.rb |
twilio-ruby-3.12.1 | lib/twilio-ruby/rest/calls.rb |