metamaps/metamaps

View on GitHub
app/serializers/api/v2/user_serializer.rb

Summary

Maintainability
A
0 mins
Test Coverage

Rename is_admin to admin?.
Open

      def is_admin

This cop makes sure that predicates are named properly.

Example:

# bad
def is_even?(value)
end

# good
def even?(value)
end

# bad
def has_value?
end

# good
def value?
end

There are no issues that match your filters.

Category
Status