Class: Twilio::REST::Calls
- Inherits:
-
ListResource
- Object
- ListResource
- Twilio::REST::Calls
- Defined in:
- lib/twilio-ruby/rest/calls.rb
Instance Method Summary collapse
-
#initialize(path, client) ⇒ Calls
constructor
A new instance of Calls.
- #make(from, to, url) ⇒ Object
Methods inherited from ListResource
#create, #get, #inspect, #list
Methods included from Utils
Constructor Details
#initialize(path, client) ⇒ Calls
Returns a new instance of Calls.
4 5 6 7 |
# File 'lib/twilio-ruby/rest/calls.rb', line 4 def initialize(path, client) super resource :feedback_summary end |
Instance Method Details
#make(from, to, url) ⇒ Object
9 10 11 |
# File 'lib/twilio-ruby/rest/calls.rb', line 9 def make(from, to, url) create from: from, to: to, url: url end |