mirror of
				https://github.com/fog/fog.git
				synced 2022-11-09 13:51:43 -05:00 
			
		
		
		
	allow passing a request into bin/fog to return json
This commit is contained in:
		
							parent
							
								
									f77fdc9a7e
								
							
						
					
					
						commit
						1761fc53f8
					
				
					 3 changed files with 31 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -145,6 +145,10 @@ module Fog
 | 
			
		|||
      Formatador.display_table(self.map {|instance| instance.attributes}, attributes)
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    def to_json
 | 
			
		||||
      self.map {|member| member}.to_json
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    private
 | 
			
		||||
 | 
			
		||||
    def lazy_load
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue