Use helper method in JSON with RABL? Use helper method in JSON with RABL? json json

Use helper method in JSON with RABL?


You can do that using node:

collection @callsattributes :time, :destination, :durationnode(:source) { |call| format_destination(call.source) }