Fixed issue with ambiguous reference.
This commit is contained in:
1 parent
ef065ce8d6
commit
af104f8c5f
1 file changed
+1
-1
@@ -56,7 +56,7 @@ module Google
|
||||
data = self.body
|
||||
case media_type
|
||||
when 'application/json'
|
||||
data = JSON.parse(data)
|
||||
data = ::JSON.parse(data)
|
||||
# Strip data wrapper, if present
|
||||
data = data['data'] if data.has_key?('data')
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user