app/mailers/observer_mailer.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method has too many lines. [12/10]
Open

  def observer_added_notification(observation, reason)
    @proposal = observation.proposal.decorate
    @observation = observation
    @reason = reason
    @recipient = observation.user
Severity: Minor
Found in app/mailers/observer_mailer.rb by rubocop

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

There are no issues that match your filters.

Category
Status