Class: Actions::Pulp::Repository::AssociateDistributor

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

Instance Method Summary collapse

Methods inherited from Abstract

#pulp_extensions, #pulp_resources

Instance Method Details

#runObject



13
14
15
16
# File 'app/lib/actions/pulp/repository/associate_distributor.rb', line 13

def run
  output[:response] = pulp_resources.repository.
    associate_distributor(*input.values_at(:repo_id, :type_id, :config, :hash))
end