simple-oauth2/simple_oauth2

View on GitHub
lib/simple_oauth2/configuration.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method Simple::OAuth2::Configuration#token_authenticator is defined at both lib/simple_oauth2/configuration.rb:53 and lib/simple_oauth2/configuration.rb:75.
Open

      def token_authenticator(&block)
Severity: Minor
Found in lib/simple_oauth2/configuration.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

Method Simple::OAuth2::Configuration#resource_owner_authenticator is defined at both lib/simple_oauth2/configuration.rb:56 and lib/simple_oauth2/configuration.rb:85.
Open

      def resource_owner_authenticator(&block)
Severity: Minor
Found in lib/simple_oauth2/configuration.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

Method Simple::OAuth2::Configuration#on_refresh is defined at both lib/simple_oauth2/configuration.rb:66 and lib/simple_oauth2/configuration.rb:104.
Open

      def on_refresh(&block)
Severity: Minor
Found in lib/simple_oauth2/configuration.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

There are no issues that match your filters.

Category
Status