Skip to content

Commit

Permalink
fixed base.query function
Browse files Browse the repository at this point in the history
  • Loading branch information
mdemin914 committed Apr 1, 2015
1 parent 5ba1025 commit 1202129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/zuora/objects/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 1202129

Please sign in to comment.