Sha256: 3f6947e06578dddf4d2ebc7f5dbc430907a6811bce65787e1b1bdb0adedc9548

Contents?: true

Size: 642 Bytes

Versions: 2

Compression:

Stored size: 642 Bytes

Contents

require File.dirname(__FILE__) + '/bit_pay/helper.rb'
require File.dirname(__FILE__) + '/bit_pay/notification.rb'

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module BitPay

        mattr_accessor :service_url
        self.service_url = 'https://bitpay.com/invoice'

        mattr_accessor :invoicing_url
        self.invoicing_url = 'https://bitpay.com/api/invoice'

        def self.notification(post)
          Notification.new(post)
        end

        def self.helper(order, account, options = {})
          Helper.new(order, account, options)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activemerchant-1.39.2 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.39.1 lib/active_merchant/billing/integrations/bit_pay.rb