app/controllers/lti_public_resources/api_controller.rb
Method xml_config
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def xml_config
script_name = request.env['SCRIPT_NAME']
host = request.scheme + "://" + request.host_with_port
tool_id = 'public_resources'