1
0
Fork 0
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:
geemus (Wesley Beary) 2010-03-27 18:06:32 -07:00
parent f77fdc9a7e
commit 1761fc53f8
3 changed files with 31 additions and 17 deletions

View file

@ -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