Class: OrgsSet

Inherits:
OperationSet show all
Defined in:
lib/satops/operator.rb

Instance Attribute Summary

Attributes inherited from OperationSet

#list

Instance Method Summary collapse

Methods inherited from OperationSet

#-, #delete_all, #extra, #fetch, #initialize

Constructor Details

This class inherits a constructor from OperationSet

Instance Method Details

#fetch_allObject



884
885
886
887
888
889
890
# File 'lib/satops/operator.rb', line 884

def fetch_all
  orgs=[]
  @sat.org.listOrgs.each do |org|
    orgs << Org.new(Org.reader(@sat, org['id']))
  end
  orgs
end

#include?(arg) ⇒ Boolean

Returns:

  • (Boolean)


892
893
894
# File 'lib/satops/operator.rb', line 892

def include?(arg)
  self.include_id?(arg)
end