Module: Pay::CurrencyHelper
- Defined in:
- app/helpers/pay/currency_helper.rb
Instance Method Summary collapse
Instance Method Details
#pay_amount_to_currency(object, **options) ⇒ Object
3 4 5 |
# File 'app/helpers/pay/currency_helper.rb', line 3 def pay_amount_to_currency(object, **) Pay::Currency.format(object.amount, **.merge(currency: object.currency)) end |