Sha256: 50e69bcd508767ae92f2674d39b76d1dc2f4ed67af698fafe5edbb524f72d66d

Contents?: true

Size: 798 Bytes

Versions: 1

Compression:

Stored size: 798 Bytes

Contents

require 'nokogiri'
require 'wirecard_sepa/version'
require 'wirecard_sepa/errors'
require 'wirecard_sepa/utils/template'
require 'wirecard_sepa/utils/params_validator'
require 'wirecard_sepa/direct_debit/request'
require 'wirecard_sepa/direct_debit/response'
require 'wirecard_sepa/recurring/first_request'
require 'wirecard_sepa/recurring/first_response'
require 'wirecard_sepa/recurring/recurring_request'
require 'wirecard_sepa/recurring/recurring_response'
require 'wirecard_sepa/config'
require 'wirecard_sepa/gateway'

module WirecardSepa
  SANDBOX_URL = 'https://api-test.wirecard.com/engine/rest/paymentmethods/'
  LIVE_URL    = ''

  def self.sandbox!
    @live = true
  end

  def self.sandboxed?
    !@live
  end

  def self.gateway_url
    sandboxed? ? SANDBOX_URL : LIVE_URL
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wirecard_sepa-0.0.1 lib/wirecard_sepa.rb