Module: Eco::API::UseCases::Lib::Locations::Mapping

Defined in:
lib/eco/api/usecases/lib/locations/mapping.rb

Constant Summary collapse

LOCATION_MAPPING =
true
LOCATION_MAPS_FILE =
nil
LOCATION_MAPS_INTERNAL =
:first
LOCATION_MAPS_INSENSITIVE =
true

Instance Method Summary collapse

Instance Method Details

#report_unknown_locations!(msg: nil, level: :warn) ⇒ Object



21
22
23
# File 'lib/eco/api/usecases/lib/locations/mapping.rb', line 21

def report_unknown_locations!(msg: nil, level: :warn)
  unknown_locations.report!(msg: msg, level: level)
end

#unknown_locationsObject



16
17
18
19
# File 'lib/eco/api/usecases/lib/locations/mapping.rb', line 16

def unknown_locations
  @unknown_locations ||=
    Eco::Data::CountTrace.new(self)
end