berkmancenter/lumendatabase

View on GitHub
app/models/api_submitter_request.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method approve_request has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def approve_request
    new_entity = Entity.create!(
      name: self.entity_name,
      kind: self.entity_kind,
      address_line_1: self.entity_address_line_1,
Severity: Minor
Found in app/models/api_submitter_request.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status