lib/glare/api_response.rb in glare-1.0.0 vs lib/glare/api_response.rb in glare-1.1.0
- old
+ new
@@ -20,10 +20,10 @@
def success?
content['success']
end
def content
- @response.content
+ @response.body
end
def errors
content['errors'].map { |e| e['message'] }.join(',')
end