Updated to match change to AutoParse.
This commit is contained in:
parent
4db326a3ed
commit
4b6e032e1b
|
@ -94,7 +94,7 @@ module Google
|
||||||
# redefine it. This means that reloading a schema which has already
|
# redefine it. This means that reloading a schema which has already
|
||||||
# been loaded into memory is not possible.
|
# been loaded into memory is not possible.
|
||||||
unless schema_class
|
unless schema_class
|
||||||
schema_class = AutoParse.generate(schema_data, schema_uri)
|
schema_class = AutoParse.generate(schema_data, :uri => schema_uri)
|
||||||
if schema_name
|
if schema_name
|
||||||
api_version.const_set(schema_name, schema_class)
|
api_version.const_set(schema_name, schema_class)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue