class SystemsSet
Public Instance Methods
delete(list)
click to toggle source
# File lib/satops/operator.rb, line 1024 def delete(list) # To Test list=[list] if list.class != Array @sat.system.deleteSystems(Helpers.filter(list, 'id')) end
delete_all()
click to toggle source
# File lib/satops/operator.rb, line 1030 def delete_all delete(@sat.system.listSystems) end
fetch_all()
click to toggle source
# File lib/satops/operator.rb, line 1034 def fetch_all systems=[] @sat.system.listSystems.each do |sys| systems << System.new(System.reader(@sat, sys['id'])) end systems end
include?(arg)
click to toggle source
# File lib/satops/operator.rb, line 1042 def include?(arg) self.include_id?(arg) end