Class: Punchblock::Command::Redirect
- Inherits:
-
Punchblock::CommandNode
- Object
- RayoNode
- Punchblock::CommandNode
- Punchblock::Command::Redirect
- Includes:
- HasHeaders
- Defined in:
- lib/punchblock/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=, included, #inherit, #rayo_children
Methods inherited from Punchblock::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 Punchblock::CommandNode
Instance Method Details
#rayo_attributes ⇒ Object
13 14 15 |
# File 'lib/punchblock/command/redirect.rb', line 13 def rayo_attributes {'to' => to} end |
#to ⇒ String
Returns the redirect target.
11 |
# File 'lib/punchblock/command/redirect.rb', line 11 attribute :to |