lynndylanhurley/devise_token_auth

View on GitHub
lib/devise_token_auth/controllers/helpers.rb

Summary

Maintainability
A
1 hr
Test Coverage
B
88%

Method define_helpers has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def self.define_helpers(mapping) #:nodoc:
        mapping = mapping.name

        class_eval <<-METHODS, __FILE__, __LINE__ + 1
          def authenticate_#{mapping}!(opts={})
Severity: Minor
Found in lib/devise_token_auth/controllers/helpers.rb - About 1 hr to fix

There are no issues that match your filters.

Category
Status