lib/paykassa.rb in paykassa-0.1.12 vs lib/paykassa.rb in paykassa-0.1.13
- old
+ new
@@ -5,10 +5,12 @@
require_relative "paykassa/pay"
module Paykassa
class Error < StandardError; end
class Paykassa
def initialize(domain:, sci_id:, sci_key:, api_id: nil, api_key: nil, test:, logger: nil)
+
@logger=logger
+ puts "logger paykassa: #{@logger.inspect}"
@paykassa_order = PaykassaOrder.new({domain: domain, sci_id: sci_id, sci_key: sci_key}, logger)
if api_id.nil?
@paykassa_pay = nil
else
@paykassa_pay = PaykassaPay.new(