class KickstartKeysSet
Public Instance Methods
fetch_all()
click to toggle source
# File lib/satops/operator.rb, line 733 def fetch_all ks_keys=[] get_all.each do |ks| ks_keys << KickstartKey.new(ks) end ks_keys end
get_all()
click to toggle source
# File lib/satops/operator.rb, line 741 def get_all # Fetch only kickstart keys matching key_type option key_type=KickstartKeys.key_type return [] unless key_type ksdetails=[] @sat.kickstartKeys.listAllKeys.each do |ks_key| ksdetails.push(@sat.kickstartKeys.getDetails(ks_key['description'])) if ks_key['type'] == key_type end ksdetails end
include?(arg)
click to toggle source
# File lib/satops/operator.rb, line 752 def include?(arg) self.include_description?(arg) end