Move actions to own namespace

This commit is contained in:
Karl Erik Õunapuu 2021-02-08 14:10:57 +02:00
parent 115cefc0cf
commit d7f01f24a2
No known key found for this signature in database
GPG key ID: C9DD647298A34764
19 changed files with 27 additions and 26 deletions

View file

@ -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