Fixed issue with ambiguous reference.
This commit is contained in:
		
							parent
							
								
									ef065ce8d6
								
							
						
					
					
						commit
						af104f8c5f
					
				|  | @ -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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue