lib/active_merchant/billing/gateways/linkpoint.rb in activemerchant-1.63.0 vs lib/active_merchant/billing/gateways/linkpoint.rb in activemerchant-1.64.0
- old
+ new
@@ -141,12 +141,12 @@
@options = {
:result => 'LIVE',
:pem => LinkpointGateway.pem_file
}.update(options)
- @options[:pem].strip!
-
raise ArgumentError, "You need to pass in your pem file using the :pem parameter or set it globally using ActiveMerchant::Billing::LinkpointGateway.pem_file = File.read( File.dirname(__FILE__) + '/../mycert.pem' ) or similar" if @options[:pem].blank?
+
+ @options[:pem].strip!
end
# Send a purchase request with periodic options
# Recurring Options
# :action =>