Sha256: cd429bdd9861d4d79288df93bcd8b90113ec4c59d48e119441d7b4324bb5e7e1
Contents?: true
Size: 526 Bytes
Versions: 18
Compression:
Stored size: 526 Bytes
Contents
class Dorsale::BillingMachine::ApplicationController < ::Dorsale::ApplicationController before_action :set_common_variables private def euros(*) raise "#euros is not available in BillingMachine, please use #bm_currency instead" end helper_method :euros def set_common_variables @payment_terms ||= policy_scope(::Dorsale::BillingMachine::PaymentTerm) @id_cards ||= policy_scope(::Dorsale::BillingMachine::IdCard) @people ||= policy_scope(::Dorsale::CustomerVault::Person) end end
Version data entries
18 entries across 18 versions & 1 rubygems