lib/wirecard_sepa.rb in wirecard_sepa-0.0.1 vs lib/wirecard_sepa.rb in wirecard_sepa-0.0.2
- old
+ new
@@ -1,6 +1,9 @@
+require 'securerandom'
+require 'typhoeus'
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'
@@ -11,20 +14,6 @@
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