method
load_attributes_from_response
load_attributes_from_response(response)
protected
Hide source
# File activeresource/lib/active_resource/base.rb, line 1366 def load_attributes_from_response(response) if (response_code_allows_body?(response.code) && (response['Content-Length'].nil? || response['Content-Length'] != "0") && !response.body.nil? && response.body.strip.size > 0) load(self.class.format.decode(response.body), true) @persisted = true end end