lib/parse/query.rb in parse-ruby-client-0.0.1 vs lib/parse/query.rb in parse-ruby-client-0.0.2
- old
+ new
@@ -69,10 +69,10 @@
def get
uri = Protocol.class_uri @class_name
query = { "where" => CGI.escape(@where.to_json) }
response = Parse.client.request uri, :get, nil, query
- Parse.client.parse_response class_name, response
+ Parse.parse_json class_name, response
end
end
end
\ No newline at end of file