Class: Bandwidth::Voice::StartStream
- Inherits:
-
Object
- Object
- Bandwidth::Voice::StartStream
- Includes:
- XmlVerb
- Defined in:
- lib/bandwidth/voice_lib/bxml/verbs/start_stream.rb
Overview
The StartStream verb allows a segment of a call to be sent off to another destination for additional processing
Instance Method Summary collapse
Methods included from XmlVerb
#compact_hash, #initialize, #method_missing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bandwidth::Voice::XmlVerb
Instance Method Details
#to_bxml(xml) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/bandwidth/voice_lib/bxml/verbs/start_stream.rb', line 9 def to_bxml(xml) xml.StartStream(compact_hash({ 'destination' => destination, 'name' => name, 'tracks' => tracks, 'streamEventUrl' => streamEventUrl, 'streamEventMethod' => streamEventMethod, 'username' => username, 'password' => password })) end |