Sha256: c71b0e30c41ce015a0082a4224d29c868a92d56e9eaa894ead49f57f5cc2a389

Contents?: true

Size: 606 Bytes

Versions: 3

Compression:

Stored size: 606 Bytes

Contents

require 'nokogiri'
require 'typhoeus'
require 'wirecard_giropay/version'
require 'wirecard_giropay/request'
require 'wirecard_giropay/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

3 entries across 3 versions & 1 rubygems

Version Path
wirecard_giropay-1.0.1 lib/wirecard_giropay.rb
wirecard_giropay-1.0.0 lib/wirecard_giropay.rb
wirecard_giropay-0.0.2 lib/wirecard_giropay.rb