Class: Actions::Pulp3::Repository::CreateRemote

Inherits:
Abstract
  • Object
show all
Defined in:
app/lib/actions/pulp3/repository/create_remote.rb

Instance Method Summary collapse

Methods inherited from Abstract

#smart_proxy

Instance Method Details

#plan(repository, smart_proxy) ⇒ Object



5
6
7
# File 'app/lib/actions/pulp3/repository/create_remote.rb', line 5

def plan(repository, smart_proxy)
  repository.backend_service(smart_proxy).create_remote if repository.root.url?
end

#rescue_strategyObject



9
10
11
# File 'app/lib/actions/pulp3/repository/create_remote.rb', line 9

def rescue_strategy
  Dynflow::Action::Rescue::Skip
end