style: correct coding style with rubocop linter
This commit is contained in:
@@ -11,7 +11,7 @@ namespace :tickets do
|
||||
total_drafts = Ticket.draft.count
|
||||
expired_drafts = Ticket.expired_drafts.count
|
||||
retryable_drafts = Ticket.can_retry_payment.count
|
||||
|
||||
|
||||
puts "=== Draft Ticket Statistics ==="
|
||||
puts "Total draft tickets: #{total_drafts}"
|
||||
puts "Expired draft tickets: #{expired_drafts}"
|
||||
@@ -19,4 +19,4 @@ namespace :tickets do
|
||||
puts "Max payment attempts: #{Ticket::MAX_PAYMENT_ATTEMPTS}"
|
||||
puts "Draft expiry time: #{Ticket::DRAFT_EXPIRY_TIME}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user