lib/twilio-ruby/rest/calls.rb in twilio-ruby-3.12.0 vs lib/twilio-ruby/rest/calls.rb in twilio-ruby-3.12.1
- old
+ new
@@ -1,16 +1,21 @@
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
+ resource :recordings, :notifications, :feedback
end
def redirect_to(url)
update :url => url
end