Sha256: 087ba69b14997adf0aa6ef6e48e4ac7b702ae8e3672144224e186edcb363bbc0
Contents?: true
Size: 450 Bytes
Versions: 4
Compression:
Stored size: 450 Bytes
Contents
module Workarea module Storefront module AfterpayHelper # get the relevant learn more link from # a price. # # @return String def learn_more_link(price) currency = price.currency.iso_code.to_sym location = Workarea::Afterpay.config[:currency_country_map][currency].to_sym.downcase return unless location.present? afterpay_dialog_path(location: location) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems