I am using the following method in a service (sms notification via. twilio), and I would like to add number_to_currency to the message so the amount is formatted nicely. I have tried a few approaches, but I cannot seem to get it to work. Any thoughts?
My method looks like this:
def message(details)
"A transaction of #{details[:amount]} was processed."
end