mirror of
https://github.com/internetee/registry.git
synced 2025-07-26 04:28:27 +02:00
Move actions to own namespace
This commit is contained in:
parent
115cefc0cf
commit
d7f01f24a2
19 changed files with 27 additions and 26 deletions
|
@ -39,7 +39,7 @@ module Repp
|
|||
|
||||
def cta(action = 'add')
|
||||
params[:contacts].each { |c| c[:action] = action }
|
||||
action = Actions::DomainUpdate.new(@domain, contact_create_params, false)
|
||||
action = ::Actions::DomainUpdate.new(@domain, contact_create_params, false)
|
||||
|
||||
# rubocop:disable Style/AndOr
|
||||
handle_errors(@domain) and return unless action.call
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue