1v/yandex-api-fotki

View on GitHub
lib/yandex/api/fotki/photos.rb

Summary

Maintainability
A
0 mins
Test Coverage

Redundant use of Object#to_s in interpolation.
Open

          url = "#{API_HOST}/api/users/#{options[:user]}/photo/#{options[:id].to_s}/"
Severity: Minor
Found in lib/yandex/api/fotki/photos.rb by rubocop

This cop checks for string conversion in string interpolation, which is redundant.

Example:

# bad

"result is #{something.to_s}"

Example:

# good

"result is #{something}"

There are no issues that match your filters.

Category
Status