class Restcomm::REST::Message

Public Class Methods

new(path, client, params={}) click to toggle source
Calls superclass method Restcomm::REST::InstanceResource::new
   # File lib/restcomm-ruby/rest/messages.rb
12 def initialize(path, client, params={})
13   super
14   resource :media
15 end

Public Instance Methods

redact() click to toggle source
   # File lib/restcomm-ruby/rest/messages.rb
17 def redact()
18   update({body: ''})
19 end