From 12021293ef62f74e89dca19d8484852e1556dd7b Mon Sep 17 00:00:00 2001 From: Maksim Demin Date: Wed, 1 Apr 2015 10:54:07 -0700 Subject: [PATCH] fixed base.query function --- lib/zuora/objects/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/zuora/objects/base.rb b/lib/zuora/objects/base.rb index fa4dc4f..51c37a6 100644 --- a/lib/zuora/objects/base.rb +++ b/lib/zuora/objects/base.rb @@ -101,8 +101,8 @@ def self.where(where) end def self.query(query_string) - result = self.conenctor.query(query_string) - generate(result.to_hash, :query_string) + result = self.connector.query(query_string) + generate(result.to_hash, :query_response) end # has this record not been saved?