Method: RIQ::Account#payload
- Defined in:
- lib/riq/account.rb
#payload ⇒ String
Returns the JSON representation of #data.
30 31 32 33 34 35 36 |
# File 'lib/riq/account.rb', line 30 def payload # TODO: find more elegant way to do this pld = data pld['fieldValues'] = @field_values.to_raw pld.delete(:field_values) pld.to_json end |