lib/agrid_client/api_client.rb in agrid-client-0.0.3 vs lib/agrid_client/api_client.rb in agrid-client-0.0.4

- old
+ new

@@ -56,9 +56,10 @@ if opts[:return_type] data = deserialize(response, opts[:return_type]) else data = nil end + return data, response.code, response.headers end # Builds the HTTP request #