lib/active_merchant/billing/gateways/payscout.rb in activemerchant-1.43.3 vs lib/active_merchant/billing/gateways/payscout.rb in activemerchant-1.44.0

- old
+ new

@@ -153,18 +153,11 @@ post[:username] = @options[:username] post[:password] = @options[:password] post[:type] = action - request = post.merge(parameters).collect { |key, value| "#{key}=#{URI.escape(value.to_s)}" }.join("&") + request = post.merge(parameters).collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join("&") request - end - - def expdate(creditcard) - year = sprintf("%.4i", creditcard.year) - month = sprintf("%.2i", creditcard.month) - - "#{month}#{year[-2..-1]}" end end end end