Class: KickstartKeysSet
Instance Attribute Summary
Attributes inherited from OperationSet
#list
Instance Method Summary
collapse
#-, #delete_all, #extra, #fetch, #initialize
Constructor Details
This class inherits a constructor from OperationSet
Instance Method Details
#fetch_all ⇒ Object
733
734
735
736
737
738
739
|
# 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 ⇒ Object
741
742
743
744
745
746
747
748
749
750
|
# File 'lib/satops/operator.rb', line 741
def get_all
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) ⇒ Boolean
752
753
754
|
# File 'lib/satops/operator.rb', line 752
def include?(arg)
self.include_description?(arg)
end
|