Sha256: 6bd86dbfe0b4d51bb8f463e55ff8164a2befb2fa23d6c2603b04ead583ad280c
Contents?: true
Size: 625 Bytes
Versions: 4
Compression:
Stored size: 625 Bytes
Contents
# encoding: utf-8 module Adhearsion class CallController module Output class AbstractPlayer attr_accessor :controller def initialize(controller) @controller = controller end def play_ssml(ssml, options = {}) if [RubySpeech::SSML::Speak, Nokogiri::XML::Document].include? ssml.class output ssml, options end end def play_ssml_for(*args) play_ssml Formatter.ssml_for(args) end def new_output(options) Punchblock::Component::Output.new options end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems