18F/micropurchase

View on GitHub
lib/swagger/path.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method Swagger::Path#operations is defined at both lib/swagger/path.rb:4 and lib/swagger/path.rb:12.
Open

  def operations
Severity: Minor
Found in lib/swagger/path.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