Class: Actions::Pulp3::ContentViewVersion::DestroyImporter

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

Instance Method Summary collapse

Methods inherited from Abstract

#smart_proxy

Instance Method Details

#runObject



14
15
16
17
18
19
20
21
22
23
# File 'app/lib/actions/pulp3/content_view_version/destroy_importer.rb', line 14

def run
   = ::Katello::Pulp3::ContentViewVersion::MetadataMap.new(metadata: input[:metadata])
  import = ::Katello::Pulp3::ContentViewVersion::Import.new(
    organization: ::Organization.find(input[:organization_id]),
    smart_proxy: smart_proxy,
    path: input[:path],
    metadata_map: 
  )
  import.destroy_importer(input[:importer_data][:pulp_href])
end