class RhnSatellite::Packages

Public Class Methods

details(package_id) click to toggle source
# File lib/rhn_satellite/packages.rb, line 5
def details(package_id)
  base.default_call('packages.getDetails',package_id.to_i)
end
exists?(package_id) click to toggle source
# File lib/rhn_satellite/packages.rb, line 9
def exists?(package_id)
  !details(package_id).nil?
rescue XMLRPC::FaultException
  false
end