Sha256: 3433a152d9a249293950a12f47b0b7bf89904827e0c6271430041bb50539a5ff
Contents?: true
Size: 823 Bytes
Versions: 1
Compression:
Stored size: 823 Bytes
Contents
module Killbill #:nodoc: module Bitpay #:nodoc: class BitpayPaymentMethod < ::Killbill::Plugin::ActiveMerchant::ActiveRecord::PaymentMethod self.table_name = 'bitpay_payment_methods' def self.from_response(kb_account_id, kb_payment_method_id, kb_tenant_id, cc_or_token, response, options, extra_params = {}, model = ::Killbill::Bitpay::BitpayPaymentMethod) super(kb_account_id, kb_payment_method_id, kb_tenant_id, cc_or_token, response, options, { # Pass custom key/values here #:params_id => extract(response, 'id'), #:params_card_id => extract(response, 'card', 'id') }.merge!(extra_params), model) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
killbill-bitpay-0.0.1 | lib/bitpay/models/payment_method.rb |