Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • soap/netHttpClient.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

SOAP::NetHttpClient::Response

Attributes

content[R]
contenttype[R]
reason[R]
status[R]

Public Class Methods

new(res) click to toggle source
 
               # File soap/netHttpClient.rb, line 180
def initialize(res)
  @status = res.code.to_i
  @reason = res.message
  @contenttype = res['content-type']
  @content = res.body
end