Class: RhnSatellite::ChannelSoftware

Inherits:
RhnSatellite::Connection::Base show all
Defined in:
lib/rhn_satellite/channel_software.rb

Class Method Summary collapse

Methods inherited from RhnSatellite::Connection::Base

reset

Class Method Details

.clone(original_label, name, label, summary, original_state = true, additional_options = {}) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/rhn_satellite/channel_software.rb', line 5

def clone(original_label,name,label,summary,original_state=true,additional_options = {})
  channel_details = {
    'name' => name,
    'label' => label,
    'summary' => summary
  }.merge(additional_options)
  base.default_call('channel.software.clone',original_label,channel_details,original_state)
end

.list_all_packages(channel_label) ⇒ Object



17
18
19
# File 'lib/rhn_satellite/channel_software.rb', line 17

def list_all_packages(channel_label)
  base.default_call('channel.software.listAllPackages',channel_label)
end

.list_children(channel_label) ⇒ Object



14
15
16
# File 'lib/rhn_satellite/channel_software.rb', line 14

def list_children(channel_label)
  base.default_call('channel.software.listChildren',channel_label)
end