lib/twilio-ruby/rest/calls.rb in twilio-ruby-3.12.3 vs lib/twilio-ruby/rest/calls.rb in twilio-ruby-3.13.0
- old
+ new
@@ -5,29 +5,29 @@
super
resource :feedback_summary
end
def make(from, to, url)
- create :from => from, :to => to, :url => 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
+ update url: url
end
def cancel
- update :status => 'canceled'
+ update status: 'canceled'
end
def hangup
- update :status => 'completed'
+ update status: 'completed'
end
end
end
end