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.



271
272
273
# File 'lib/mechanize/test_case.rb', line 271

def body
  @body
end

#cookiesObject

Returns the value of attribute cookies.



271
272
273
# File 'lib/mechanize/test_case.rb', line 271

def cookies
  @cookies
end

#queryObject

Returns the value of attribute query.



271
272
273
# File 'lib/mechanize/test_case.rb', line 271

def query
  @query
end

#userObject

Returns the value of attribute user.



271
272
273
# File 'lib/mechanize/test_case.rb', line 271

def user
  @user
end

Instance Method Details

#hostObject



273
274
275
# File 'lib/mechanize/test_case.rb', line 273

def host
  'example'
end

#portObject



277
278
279
# File 'lib/mechanize/test_case.rb', line 277

def port
  80
end