Sha256: 9a3383786aad56c35c9b192103683d859d9863127cd52f9cca54a99227b553d0

Contents?: true

Size: 655 Bytes

Versions: 1

Compression:

Stored size: 655 Bytes

Contents

require 'nokogiri'
require 'typhoeus'
require 'wirecard_giropay/version'
require 'wirecard_giropay/request'
require 'wirecard_giropay/response'
require 'wirecard_giropay/notification_response'
require 'wirecard_giropay/gateway'
require 'wirecard_giropay/testing'

module WirecardGiropay
  SANDBOX_URL = 'https://c3-test.wirecard.com/secure/ssl-gateway'
  LIVE_URL    = 'https://c3.wirecard.com/secure/ssl-gateway'

  def self.sandbox!
    @sandboxed = true
  end

  def self.sandboxed?
    !!@sandboxed
  end

  def self.gateway_url
    sandboxed? ? SANDBOX_URL : LIVE_URL
  end

  def self.sandbox_credentials
    '00000031556BEEC6:TestXAPTER'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wirecard_giropay-1.0.2 lib/wirecard_giropay.rb