unepwcmc/SAPI

View on GitHub
app/models/trade/sandbox_template.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method ar_klass has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.ar_klass(table_name)
    klass_name = table_name.camelize
    begin
      "Trade::#{klass_name}".constantize
    rescue NameError
Severity: Major
Found in app/models/trade/sandbox_template.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status