Class: RhnSatellite::ChannelSoftware
- Inherits:
-
RhnSatellite::Connection::Base
- Object
- RhnSatellite::Connection::Base
- RhnSatellite::ChannelSoftware
- Defined in:
- lib/rhn_satellite/channel_software.rb
Class Method Summary collapse
- .clone(original_label, name, label, summary, original_state = true, additional_options = {}) ⇒ Object
- .list_all_packages(channel_label) ⇒ Object
- .list_children(channel_label) ⇒ Object
Methods inherited from RhnSatellite::Connection::Base
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, = {}) channel_details = { 'name' => name, 'label' => label, 'summary' => summary }.merge() 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 |