Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 773 Bytes

Play.md

File metadata and controls

22 lines (16 loc) · 773 Bytes

Freeclimb::Play

Properties

Name Type Description Notes
file String RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands.
loop Integer Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up. [optional]
privacy_mode Boolean Parameter `privacyMode` will not log the `text` as required by PCI compliance. [optional]

Example

require 'freeclimb'

instance = Freeclimb::Play.new(
  file: null,
  loop: null,
  privacy_mode: null
)