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

@ -38,7 +38,7 @@ module Repp
def cta(action = 'add')
params[:dns_keys].each { |n| n[:action] = action }
action = Actions::DomainUpdate.new(@domain, dnssec_params, false)
action = ::Actions::DomainUpdate.new(@domain, dnssec_params, false)
# rubocop:disable Style/AndOr
(handle_errors(@domain) and return) unless action.call