mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
fixed codeclimate errors
This commit is contained in:
parent
b425a14f39
commit
48555c23b6
3 changed files with 6 additions and 6 deletions
|
@ -5,10 +5,10 @@ class AccountActivity < ApplicationRecord
|
|||
belongs_to :invoice
|
||||
belongs_to :price, class_name: 'Billing::Price'
|
||||
|
||||
CREATE = 'create'
|
||||
RENEW = 'renew'
|
||||
ADD_CREDIT = 'add_credit'
|
||||
UPDATE_CREDIT = 'update_credit'
|
||||
CREATE = 'create'.freeze
|
||||
RENEW = 'renew'.freeze
|
||||
ADD_CREDIT = 'add_credit'.freeze
|
||||
UPDATE_CREDIT = 'update_credit'.freeze
|
||||
|
||||
after_create :update_balance
|
||||
def update_balance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue