Partial solution to the issue of generating JSON.
This commit is contained in:
		
							parent
							
								
									f159ab7285
								
							
						
					
					
						commit
						6fc526bd21
					
				| 
						 | 
				
			
			@ -256,6 +256,14 @@ module Google
 | 
			
		|||
      def []=(key, value)
 | 
			
		||||
        return @data[key] = value
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      def to_hash
 | 
			
		||||
        return @data
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      def to_json
 | 
			
		||||
        return JSON.generate(@data)
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue