Class: AtlasEngine::CountryImport

Inherits:
ApplicationRecord show all
Defined in:
app/models/atlas_engine/country_import.rb

Defined Under Namespace

Classes: InterruptionError

Constant Summary collapse

PAGE_SIZE =
10

Instance Method Summary collapse

Instance Method Details

#detected_invalid_addresses?Boolean

Returns:

  • (Boolean)


32
33
34
# File 'app/models/atlas_engine/country_import.rb', line 32

def detected_invalid_addresses?
  events.where(category: :invalid_address).any?
end