Sha256: 4f4cdcffd34ac49a07244d0698e7eba0fd52d55f9fe3ca83bafd53c2f06c37de
Contents?: true
Size: 376 Bytes
Versions: 11
Compression:
Stored size: 376 Bytes
Contents
module Killbill::Litle class PrivatePaymentPlugin include Singleton def get_currency(kb_account_id) account = kb_apis.get_account_by_id(kb_account_id) account.currency rescue => e 'USD' end private def kb_apis # The logger should have been configured when the plugin started Killbill::Litle.kb_apis end end end
Version data entries
11 entries across 11 versions & 1 rubygems