Class: Net::HTTPRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/mechanize/test_case.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



292
293
294
# File 'lib/mechanize/test_case.rb', line 292

def body
  @body
end

#cookiesObject

Returns the value of attribute cookies.



292
293
294
# File 'lib/mechanize/test_case.rb', line 292

def cookies
  @cookies
end

#queryObject

Returns the value of attribute query.



292
293
294
# File 'lib/mechanize/test_case.rb', line 292

def query
  @query
end

#userObject

Returns the value of attribute user.



292
293
294
# File 'lib/mechanize/test_case.rb', line 292

def user
  @user
end

Instance Method Details

#hostObject



294
295
296
# File 'lib/mechanize/test_case.rb', line 294

def host
  'example'
end

#portObject



298
299
300
# File 'lib/mechanize/test_case.rb', line 298

def port
  80
end