app/models/input_template_renderer.rb
Method render
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def render
@template_input_values ||= values_from_invocation
@template.validate_unique_inputs!
source = Foreman::Renderer.get_source(
template: template,
Method initialize
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(template, host = nil, invocation = nil, input_values = nil, preview = false, templates_stack = [])