Module: Sinatra::TwiML
- Defined in:
- lib/sinatra/twiml.rb
Instance Method Summary collapse
Instance Method Details
#twiml(template = nil, options = {}, locals = {}, &block) ⇒ Object
5 6 7 8 |
# File 'lib/sinatra/twiml.rb', line 5 def twiml(template = nil, = {}, locals = {}, &block) [:default_content_type] = :xml render_ruby(:twiml, template, , locals, &block) end |