app/view_models/auction_show_view_model.rb
Class AuctionShowViewModel
has 36 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class AuctionShowViewModel
attr_reader :auction, :current_user
def initialize(auction:, current_user:, bid_error: nil)
@auction = auction
- Create a ticketCreate a ticket