Sha256: e2e81300a6cd701bcd8da6e35f9fac5a8cde1601fe784f4208ef390ada138f36

Contents?: true

Size: 980 Bytes

Versions: 50

Compression:

Stored size: 980 Bytes

Contents

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

      # Documentation: https://ssl.easypay.by/light/
      module EasyPay
        autoload :Helper, File.dirname(__FILE__) + '/easy_pay/helper.rb'
        autoload :Notification, File.dirname(__FILE__) + '/easy_pay/notification.rb'
        autoload :Common, File.dirname(__FILE__) + '/easy_pay/common.rb'

        mattr_accessor :signature_parameter_name
        self.signature_parameter_name = 'EP_Hash'

        mattr_accessor :notify_signature_parameter_name
        self.notify_signature_parameter_name = 'notify_signature'

        mattr_accessor :service_url
        self.service_url = 'https://ssl.easypay.by/weborder/'

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

        def self.notification(query_string, options = {})
          Notification.new(query_string, options)
        end
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 4 rubygems

Version Path
activemerchant-1.41.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.40.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.39.2 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.39.1 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.39.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.38.1 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.38.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.37.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.36.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.35.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.35.1 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.34.1 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.34.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.33.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.32.1 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.32.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.31.1 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.31.0 lib/active_merchant/billing/integrations/easy_pay.rb
activemerchant-1.30.0 lib/active_merchant/billing/integrations/easy_pay.rb
jelaniharris-activemerchant-1.29.2 lib/active_merchant/billing/integrations/easy_pay.rb