app/workers/mrss_photos_importer.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Do not prefix reader method names with get_.
Open

  def get_photos
Severity: Minor
Found in app/workers/mrss_photos_importer.rb by rubocop

Makes sure that accessor methods are named properly. Applies to both instance and class methods.

NOTE: Offenses are only registered for methods with the expected arity. Getters (get_attribute) must have no arguments to be registered, and setters (set_attribute(value)) must have exactly one.

Example:

# bad
def set_attribute(value)
end

# good
def attribute=(value)
end

# bad
def get_attribute
end

# good
def attribute
end

# accepted, incorrect arity for getter
def get_value(attr)
end

# accepted, incorrect arity for setter
def set_value
end

There are no issues that match your filters.

Category
Status