Server IP : 66.29.132.122 / Your IP : 3.22.240.165 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/MockRequest/ |
Upload File : |
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: env_for - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse_uri_rfc2396 comment: - !ruby/struct:SM::Flow::P body: Rack::MockRequest helps testing your Rack application without actually using HTTP. - !ruby/struct:SM::Flow::P body: After performing a request on a URL with get/post/put/patch/delete, it returns a MockResponse with useful helper methods for effective testing. - !ruby/struct:SM::Flow::P body: You can pass a hash with additional configuration to the get/post/put/patch/delete. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "<tt>:input</tt>:" body: A String or IO-like to be used as rack.input. - !ruby/struct:SM::Flow::LI label: "<tt>:fatal</tt>:" body: Raise a FatalWarning if the app writes to rack.errors. - !ruby/struct:SM::Flow::LI label: "<tt>:lint</tt>:" body: If true, wrap the application in a Rack::Lint. type: :NOTE constants: - !ruby/object:RI::Constant comment: name: DEFAULT_ENV value: "{ \"rack.version\" => Rack::VERSION, \"rack.input\" => StringIO.new, \"rack.errors\" => StringIO.new, \"rack.multithread\" => true, \"rack.multiprocess\" => true, \"rack.run_once\" => false, }" full_name: Rack::MockRequest includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: get - !ruby/object:RI::MethodSummary name: head - !ruby/object:RI::MethodSummary name: options - !ruby/object:RI::MethodSummary name: patch - !ruby/object:RI::MethodSummary name: post - !ruby/object:RI::MethodSummary name: put - !ruby/object:RI::MethodSummary name: request name: MockRequest superclass: Object