Class: Net::HTTPRequest

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

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



286
287
288
# File 'lib/gimme_poc/test_case.rb', line 286

def body
  @body
end

#cookiesObject

Returns the value of attribute cookies.



286
287
288
# File 'lib/gimme_poc/test_case.rb', line 286

def cookies
  @cookies
end

#queryObject

Returns the value of attribute query.



286
287
288
# File 'lib/gimme_poc/test_case.rb', line 286

def query
  @query
end

#userObject

Returns the value of attribute user.



286
287
288
# File 'lib/gimme_poc/test_case.rb', line 286

def user
  @user
end

Instance Method Details

#hostObject



288
289
290
# File 'lib/gimme_poc/test_case.rb', line 288

def host
  'example'
end

#portObject



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

def port
  80
end