Class: Rack::Request Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/yard/server/rack_adapter.rb |
Instance Attribute Summary
- #version_supplied rw Internal use only
- #xhr? ⇒ Boolean readonly Internal use only
Instance Method Summary
- #query Internal use only
Instance Attribute Details
#version_supplied (rw)
[ GitHub ]# File 'lib/yard/server/rack_adapter.rb', line 94
attr_accessor :version_supplied
#xhr? ⇒ Boolean
(readonly)
# File 'lib/yard/server/rack_adapter.rb', line 96
def xhr?; (env['HTTP_X_REQUESTED_WITH'] || "").casecmp("xmlhttprequest") == 0 end
Instance Method Details
#query
[ GitHub ]# File 'lib/yard/server/rack_adapter.rb', line 95
alias query params