# frozen_string_literal: true module ZuoraConnectUi # General helpers for application level module ApplicationHelper def zuo_parameterize(string) if Rails::VERSION::STRING.start_with? '5' string.parameterize(separator: '_') else string.parameterize('_') end end def zuo_include_tag JAVASCRIPT_INCLUDE end JAVASCRIPT_INCLUDE = %w[ https://cdn.zuora.com/anjuna/1.0.0-beta.11/core/anjuna-core.js ].map { |link| '' }.join("\n").html_safe end end