Method: ProcessOut::ExportLayoutConfiguration#to_json

Defined in:
lib/processout/export_layout_configuration.rb

#to_json(options) ⇒ Object

Overrides the JSON marshaller to only send the fields we want



88
89
90
91
92
93
94
# File 'lib/processout/export_layout_configuration.rb', line 88

def to_json(options)
  {
      "columns": self.columns,
      "time": self.time,
      "amount": self.amount,
  }.to_json
end