lib/adyen/client.rb
# construct full URL from service and endpoint
construct full URL from service and endpoint
construct full URL from service and endpoint
def service_url(service, action, version)
      if service == "Checkout" || service == "Terminal"
        "#{service_url_base(service)}/v#{version}/#{action}"
      else
        "#{service_url_base(service)}/#{service}/v#{version}/#{action}"
      end
    end
def service_url ( service , action , version ) if service == "Checkout" || service == "Terminal" "#{service_url_base(service)}/v#{version}/#{action}" else "#{service_url_base(service)}/#{service}/v#{version}/#{action}" end end
construct full URL from service and endpoint
construct full URL from service and endpoint
service
<not_specific>
action
<not_specific>
version
<not_specific>