mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Remove Rubocop inline directives
This commit is contained in:
parent
66dd10302d
commit
c44f3df7f5
28 changed files with 5 additions and 169 deletions
|
@ -36,8 +36,6 @@ class BankTransaction < ActiveRecord::Base
|
|||
|
||||
|
||||
# For successful binding, reference number, invoice id and sum must match with the invoice
|
||||
# rubocop: disable Metrics/PerceivedComplexity
|
||||
# rubocop: disable Metrics/CyclomaticComplexity
|
||||
def autobind_invoice
|
||||
return if binded?
|
||||
return unless registrar
|
||||
|
@ -50,8 +48,6 @@ class BankTransaction < ActiveRecord::Base
|
|||
return if invoice.total != sum
|
||||
create_activity(registrar, invoice)
|
||||
end
|
||||
# rubocop: enable Metrics/PerceivedComplexity
|
||||
# rubocop: enable Metrics/CyclomaticComplexity
|
||||
|
||||
def bind_invoice(invoice_no)
|
||||
if binded?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue