Class: Adhearsion::Rayo::Command::Redirect
- Inherits:
-
Adhearsion::Rayo::CommandNode
- Object
- RayoNode
- Adhearsion::Rayo::CommandNode
- Adhearsion::Rayo::Command::Redirect
- Includes:
- HasHeaders
- Defined in:
- lib/adhearsion/rayo/command/redirect.rb
Instance Attribute Summary
Attributes inherited from RayoNode
#client, #connection, #original_component
Instance Method Summary collapse
- #rayo_attributes ⇒ Object
-
#to ⇒ String
The redirect target.
Methods included from HasHeaders
#headers=, #inherit, #rayo_children
Methods inherited from Adhearsion::Rayo::CommandNode
#initialize, #response, #response=
Methods inherited from RayoNode
#==, class_from_registration, from_xml, #inherit, #inspect, #rayo_children, register, #source, #to_rayo, #to_xml
Constructor Details
This class inherits a constructor from Adhearsion::Rayo::CommandNode
Instance Method Details
#rayo_attributes ⇒ Object
17 18 19 |
# File 'lib/adhearsion/rayo/command/redirect.rb', line 17 def rayo_attributes {'to' => to} end |
#to ⇒ String
Returns the redirect target.
15 |
# File 'lib/adhearsion/rayo/command/redirect.rb', line 15 attribute :to |