Method: HttpHelper::WebHttpResponse#initialize

Defined in:
lib/helpers/tmc_helpers/http_helper/http_helper.rb

#initialize(http_response) ⇒ WebHttpResponse

Returns a new instance of WebHttpResponse.



86
87
88
89
# File 'lib/helpers/tmc_helpers/http_helper/http_helper.rb', line 86

def initialize(http_response)
  super(http_response)
  @code = self.code.to_i
end