Module: ZohoReports::ZohoReportify::LocalInstanceMethods
- Defined in:
- lib/zoho_reports/zoho_reportify.rb
Instance Method Summary collapse
Instance Method Details
#save_zoho_record ⇒ Object
40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/zoho_reports/zoho_reportify.rb', line 40 def save_zoho_record client = ZohoReports::Client.new # Notice the ZOHO_DATE_FORMAT here client.import_data( self.class.table_name, 'UPDATEADD', [ZohoReports::Client.zoho_attributes(self.attributes)].to_json, ) # Turn standard json back on end |