method
load_attributes_from_response
v2.2.1 -
Show latest stable
- Class:
ActiveResource::Base
load_attributes_from_response(response)protected
No documentation available.
# File activeresource/lib/active_resource/base.rb, line 999
def load_attributes_from_response(response)
if response['Content-Length'] != "0" && response.body.strip.size > 0
load(self.class.format.decode(response.body))
end
end