Class: Net::HTTPRequest
- Inherits:
-
Object
- Object
- Net::HTTPRequest
- Defined in:
- lib/mechanize/test_case.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#cookies ⇒ Object
Returns the value of attribute cookies.
-
#query ⇒ Object
Returns the value of attribute query.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
287 288 289 |
# File 'lib/mechanize/test_case.rb', line 287 def body @body end |
#cookies ⇒ Object
Returns the value of attribute cookies.
287 288 289 |
# File 'lib/mechanize/test_case.rb', line 287 def @cookies end |
#query ⇒ Object
Returns the value of attribute query.
287 288 289 |
# File 'lib/mechanize/test_case.rb', line 287 def query @query end |
#user ⇒ Object
Returns the value of attribute user.
287 288 289 |
# File 'lib/mechanize/test_case.rb', line 287 def user @user end |
Instance Method Details
#host ⇒ Object
289 290 291 |
# File 'lib/mechanize/test_case.rb', line 289 def host 'example' end |
#port ⇒ Object
293 294 295 |
# File 'lib/mechanize/test_case.rb', line 293 def port 80 end |