Updated to match change to AutoParse.

This commit is contained in:
Bob Aman 2011-10-20 17:58:00 +03:00
parent 4db326a3ed
commit 4b6e032e1b
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ module Google
# redefine it. This means that reloading a schema which has already
# been loaded into memory is not possible.
unless schema_class
schema_class = AutoParse.generate(schema_data, schema_uri)
schema_class = AutoParse.generate(schema_data, :uri => schema_uri)
if schema_name
api_version.const_set(schema_name, schema_class)
end