Method: GoogleFT::Table#post_args
- Defined in:
- lib/google-ft/table.rb
#post_args ⇒ Object
Return the JSON string of our table arguments.
Used for creating and updating tables.
131 132 133 134 135 136 137 138 |
# File 'lib/google-ft/table.rb', line 131 def post_args { :name => self.name, :columns => self.columns.each.collect {|col| {:name => col.name, :type => col.type}}, :isExportable => self.exportable, :description => self.description }.to_json end |