genome/dgi-db

View on GitHub
app/presenters/interaction_search_result_api_v1_presenter.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class InteractionSearchResultApiV1Presenter has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

class InteractionSearchResultApiV1Presenter
  def initialize(search_result, identifier, interactions)
    @result = search_result
    @identifier = identifier
    @interactions = interactions.flat_map(&:interaction_claims).map{|i| InteractionWrapper.new(i)}
Severity: Minor
Found in app/presenters/interaction_search_result_api_v1_presenter.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status