Use helper method in JSON with RABL?
You can do that using node
:
collection @callsattributes :time, :destination, :durationnode(:source) { |call| format_destination(call.source) }
You can do that using node
:
collection @callsattributes :time, :destination, :durationnode(:source) { |call| format_destination(call.source) }