Sha256: 7126f939560c61cf157cfd7e7c05b42021b69496f4219bd7e0af1059a5d6f0f1
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
module Restcomm module REST class Messages < ListResource def initialize(path, client) # path.gsub! '/SMS', '' path.gsub! '/Messages', '/SMS/Messages' super end end class Message < InstanceResource def initialize(path, client, params={}) super resource :media end def redact() update({body: ''}) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restcomm-ruby-1.2.1 | lib/restcomm-ruby/rest/messages.rb |
restcomm-ruby-1.2.0 | lib/restcomm-ruby/rest/messages.rb |