Class: Ruter::Test
- Inherits:
-
Object
- Object
- Ruter::Test
- Includes:
- InstanceMethods
- Defined in:
- lib/ruter/test.rb
Overview
Defined Under Namespace
Modules: InstanceMethods
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Internal: Returns the application class that handles the mock requests.
Instance Method Summary collapse
-
#initialize(app = Ruter) ⇒ Test
constructor
Public: Initializes a new Ruter::Test object.
Methods included from InstanceMethods
#delete, #get, #head, #options, #patch, #post, #put, #req, #res
Constructor Details
Instance Attribute Details
#app ⇒ Object (readonly)
Internal: Returns the application class that handles the mock requests. Required by Ruter::Test::InstanceMethods.
40 41 42 |
# File 'lib/ruter/test.rb', line 40 def app @app end |