Method: ProcessOut::ErrorCodes#to_json
- Defined in:
- lib/processout/error_codes.rb
#to_json(options) ⇒ Object
Overrides the JSON marshaller to only send the fields we want
48 49 50 51 52 |
# File 'lib/processout/error_codes.rb', line 48 def to_json() { "gateway": self.gateway, }.to_json end |