app/models/winning_bidder_export.rb
Class WinningBidderExport
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class WinningBidderExport
class Error < StandardError; end
PURCHASE_CARD_AS_PAYMENT_METHOD = 'Y'.freeze
NATIONAL_INTEREST_ACTION = 'None'.freeze
- Create a ticketCreate a ticket
Method has too many lines. [24/20] Open
Open
def data_values
[
legal_business_name,
address_line_1,
address_line_2,
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.
Method has too many lines. [24/20] Open
Open
def header_values
[
"13GG Vendor Name",
"13JJ Vendor Address Line 1",
'13KK Vendor Address Line 2',
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.