docs/usage/phone-calls.rst in twilio-ruby-3.13.1 vs docs/usage/phone-calls.rst in twilio-ruby-3.14.0

- old
+ new

@@ -50,9 +50,26 @@ @client = Twilio::REST::Client.new account_sid, auth_token sid = "CA12341234" @call = @client.calls.get(sid) +Delete a Call Record +-------------------- + +.. code-block:: ruby + + require 'twilio-ruby' + + # To find these visit https://www.twilio.com/user/account + account_sid = "ACXXXXXXXXXXXXXXXXX" + auth_token = "YYYYYYYYYYYYYYYYYY" + + @client = Twilio::REST::Client.new account_sid, auth_token + sid = "CA12341234" + @call = @client.calls.get(sid) + + # Removes the entire record from Twilio's storage + @call.delete Accessing Specific Call Resources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Each :class:`Call` resource also has access to its `notifications`,