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