Sha256: f319eb33163e8e5fe7886025f607d796f76dbd168796b3427f3ea4c322dfb31c
Contents?: true
Size: 391 Bytes
Versions: 13
Compression:
Stored size: 391 Bytes
Contents
module Plivo module XML class Speak < Element @nestables = [] @valid_attributes = %w[voice language loop] def initialize(body, attributes = {}) if !body raise PlivoXMLError, 'No text set for Speak' else body = HTMLEntities.new(:html4).encode(body, :decimal) end super(body, attributes) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems