lib/twilio-ruby/rest/messages.rb in twilio-ruby-3.13.1 vs lib/twilio-ruby/rest/messages.rb in twilio-ruby-3.14.0
- old
+ new
@@ -10,8 +10,13 @@
class Message < InstanceResource
def initialize(path, client, params={})
super
resource :media
end
+
+ def redact()
+ update({body: ''})
+ end
+
end
end
end