lib/wordnik/request.rb in wordnik-0.4.4 vs lib/wordnik/request.rb in wordnik-0.4.5

- old
+ new

@@ -163,17 +163,14 @@ self.url_with_query_string, :body => self.body.to_json, :headers => self.headers.stringify_keys ) end - - @response_obj = Response.new(response) + Response.new(response) end - # If the request has been made, return the existing response - # If not, make the request and return the response def response - @response_obj || self.make + self.make end def response_code_pretty return unless @response.present? @response.code.to_s \ No newline at end of file