Sha256: b1bd135c8c79a229ff1d764d5ad61096e01ee7a4063c539ce6b0233f15f97fc1
Contents?: true
Size: 719 Bytes
Versions: 6
Compression:
Stored size: 719 Bytes
Contents
module Twilio # Recordings are generated when you use the Record Verb. Those recordings are # hosted on Twilio's REST API for you to access. class Recording < TwilioObject def list(optional = {}) self.connection.class.get("/Recordings", :query => optional) end def get(recording_sid) self.connection.class.get("/Recordings/#{recording_sid}") end def delete(recording_sid) self.connection.class.delete("/Recordings/#{recording_sid}") end def transcriptions(recording_sid, transcription_sid = nil) self.connection.class.get("/Recordings/#{recording_sid}/Transcriptions#{ '/' + transcription_sid if transcription_sid }") end end end
Version data entries
6 entries across 6 versions & 2 rubygems