mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 23:16:23 +02:00
Fixed codeclimate issues
This commit is contained in:
parent
95281b7007
commit
deec81454f
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
class BankTransaction < ApplicationRecord
|
class BankTransaction < ApplicationRecord # rubocop:disable Metrics/ClassLength
|
||||||
include Versions
|
include Versions
|
||||||
include TransactionPaidInvoices
|
include TransactionPaidInvoices
|
||||||
belongs_to :bank_statement
|
belongs_to :bank_statement
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Dispute < ApplicationRecord
|
class Dispute < ApplicationRecord # rubocop:disable Metrics/ClassLength
|
||||||
include WhoisStatusPopulate
|
include WhoisStatusPopulate
|
||||||
validates :domain_name, :password, :starts_at, :expires_at, presence: true
|
validates :domain_name, :password, :starts_at, :expires_at, presence: true
|
||||||
before_validation :fill_empty_passwords, :set_expiry_date
|
before_validation :fill_empty_passwords, :set_expiry_date
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue