Avhana/allscripts_api

View on GitHub
lib/allscripts_api/documents/document.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method build_xml has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def self.build_xml(file_name, command = "i", params)
        Utilities::Validator.validate_params(REQUIRED_PARAMS, params)
        encounter_date_time = DateTime.now.strftime("%Y-%m-%d %H:%m:%S")
        builder = Nokogiri::XML::Builder.new
        builder.document do
Severity: Minor
Found in lib/allscripts_api/documents/document.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status