lib/fawry/requests/delete_token_request.rb in fawry-1.2.1 vs lib/fawry/requests/delete_token_request.rb in fawry-1.3.0

- old
+ new

@@ -35,14 +35,14 @@ cardToken: request_params[:card_token] }.compact end def fawry_merchant_code - ENV.fetch('FAWRY_MERCHANT_CODE') { request_params[:merchant_code] } + Fawry.configuration.fawry_merchant_code || ENV.fetch('FAWRY_MERCHANT_CODE') { request_params[:merchant_code] } end def fawry_secure_key - ENV.fetch('FAWRY_SECURE_KEY') { request_params[:fawry_secure_key] } + Fawry.configuration.fawry_secure_key || ENV.fetch('FAWRY_SECURE_KEY') { request_params[:fawry_secure_key] } end def card_token request_params[:card_token] end