Class: RubyRoutesTrie::Response
- Inherits:
-
Object
- Object
- RubyRoutesTrie::Response
- Defined in:
- lib/trie/response.rb
Instance Attribute Summary collapse
-
#dynamic_value ⇒ Object
readonly
Returns the value of attribute dynamic_value.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#route ⇒ Object
readonly
Returns the value of attribute route.
Instance Method Summary collapse
-
#initialize(method, route, dynamic_value) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(method, route, dynamic_value) ⇒ Response
Returns a new instance of Response.
6 7 8 9 10 |
# File 'lib/trie/response.rb', line 6 def initialize(method, route, dynamic_value) @dynamic_value = dynamic_value @route = route @method = method end |
Instance Attribute Details
#dynamic_value ⇒ Object (readonly)
Returns the value of attribute dynamic_value.
4 5 6 |
# File 'lib/trie/response.rb', line 4 def dynamic_value @dynamic_value end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
4 5 6 |
# File 'lib/trie/response.rb', line 4 def method @method end |
#route ⇒ Object (readonly)
Returns the value of attribute route.
4 5 6 |
# File 'lib/trie/response.rb', line 4 def route @route end |