Skip to content

Commit

Permalink
Remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Beljajev committed Mar 31, 2018
1 parent 5b0032c commit 6f9d3af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
10 changes: 0 additions & 10 deletions app/models/epp/domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,6 @@ def validate_contacts
ok
end

before_save :link_contacts
def link_contacts
#TODO: cleanup cache if we think to cache dynamic statuses
end

after_destroy :unlink_contacts
def unlink_contacts
#TODO: cleanup cache if we think to cache dynamic statuses
end

class << self
def new_from_epp(frame, current_user)
domain = Epp::Domain.new
Expand Down
5 changes: 0 additions & 5 deletions app/models/registrar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ def debit!(args)
cash_account.account_activities.create!(args)
end

def credit!(args)
args[:currency] = 'EUR'
cash_account.account_activities.create!(args)
end

def address
[street, city, state, zip].reject(&:blank?).compact.join(', ')
end
Expand Down

0 comments on commit 6f9d3af

Please sign in to comment.