Class: Actions::Candlepin::Product::ContentUpdate

Inherits:
Abstract
  • Object
show all
Defined in:
app/lib/actions/candlepin/product/content_update.rb

Instance Method Summary collapse

Instance Method Details

#runObject



14
15
16
17
18
19
20
21
22
23
24
# File 'app/lib/actions/candlepin/product/content_update.rb', line 14

def run
  output[:response] = ::Katello::Resources::Candlepin::Content.
      update(id: input[:content_id],
             name: input[:name],
             contentUrl: input[:content_url],
             gpgUrl: input[:gpg_key_url],
             type: input[:type],
             label: input[:label],
             metadataExpire: 1,
             vendor: ::Katello::Provider::CUSTOM)
end