From 4b6e032e1b148f2e67cfbc875fd59abca1ef6e6f Mon Sep 17 00:00:00 2001 From: Bob Aman Date: Thu, 20 Oct 2011 17:58:00 +0300 Subject: [PATCH] Updated to match change to AutoParse. --- lib/google/api_client/discovery/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/google/api_client/discovery/schema.rb b/lib/google/api_client/discovery/schema.rb index 02edd3314..86f7ed397 100644 --- a/lib/google/api_client/discovery/schema.rb +++ b/lib/google/api_client/discovery/schema.rb @@ -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