Sha256: 90b2e5b015cd1c70aba5fddea69d53f26427a96431e556e27bc8a2ccfd074ee4

Contents?: true

Size: 819 Bytes

Versions: 13

Compression:

Stored size: 819 Bytes

Contents

require File.dirname(__FILE__) + '/bit_pay/helper.rb'
require File.dirname(__FILE__) + '/bit_pay/notification.rb'
require File.dirname(__FILE__) + '/bit_pay/return.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, options = {})
          Notification.new(post, options)
        end

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

        def self.return(query_string, options = {})
          Return.new(query_string)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
activemerchant-1.43.3 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.43.1 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.43.0 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.9 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.8 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.7 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.6 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.5 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.4 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.3 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.2 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.1 lib/active_merchant/billing/integrations/bit_pay.rb
activemerchant-1.42.0 lib/active_merchant/billing/integrations/bit_pay.rb