Method: InventoryRefresh::InventoryCollection::Reference#primary?

Defined in:
lib/inventory_refresh/inventory_collection/reference.rb

#primary?Boolean

Return true if reference is to primary index, false otherwise. Reference is primary, only if all the nested references are primary.

Returns:

  • (Boolean)

    true if reference is to primary index, false otherwise



30
31
32
# File 'lib/inventory_refresh/inventory_collection/reference.rb', line 30

def primary?
  ref == :manager_ref && !nested_secondary_index
end